home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1994 2nd Q2 / The Association of Shareware Professionals - The Official ASP Advantage (2nd Quarter)(1994).bin / files / utilfile / tbox14 / tbox.doc < prev    next >
Encoding:
Text File  |  1993-11-14  |  120.8 KB  |  2,942 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                   ToolBOX
  12.  
  13.  
  14.  
  15.  
  16.                                    (TBOX)
  17.  
  18.  
  19.  
  20.  
  21.                                 USER MANUAL
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.                             *
  33.                           *   *
  34.                         *       *
  35.                       *           *               The
  36.                     *               *
  37.                   *                   *           Binary
  38.                  *                     *
  39.                  *                     *          Toolshed
  40.                  *                     *
  41.                  *                     *
  42.                  *  ******             *
  43.                  *        *            *
  44.                  *        *            *          Version 1.4
  45.                  *        *            *          November 14, 1993
  46.                  *        *            *
  47.                  *        *            *
  48.                   ********             *
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                               TABLE OF CONTENTS
  61.  
  62.     1.0 INTRODUCTION......................................................1
  63.     1.1 General...........................................................1
  64.     1.2 About This Manual.................................................2
  65.     1.3 Documentation Conventions.........................................4
  66.     1.4 Words You Should Know.............................................4
  67.  
  68.     2.0 QUICK START PROCEDURE.............................................8
  69.  
  70.     3.0 INSTALLATION......................................................9
  71.     3.1 System Requirements...............................................9
  72.     3.2 Installation Configuration........................................9
  73.  
  74.     4.0 PROGRAM STARTUP..................................................10
  75.     4.1 Program Environment..............................................10
  76.     4.2 Startup Settings.................................................10
  77.  
  78.     5.0 OPERATIONAL OVERVIEW.............................................18
  79.     5.1 Introduction.....................................................18
  80.     5.2 The Basics.......................................................18
  81.     5.3 Directory/Select Modes...........................................20
  82.     5.4 Help Facility....................................................20
  83.     5.5 Popup Menu Window................................................20
  84.     5.6 Error Reporting..................................................21
  85.     5.7 Exit To DOS......................................................22
  86.  
  87.     6.0 DIRECTORY DISPLAY................................................23
  88.     6.1 Introduction.....................................................23
  89.     6.2 The DIR Command..................................................24
  90.     6.3 The CD Command...................................................26
  91.  
  92.     7.0 KEYBOARD COMMAND LINE PROCESSING.................................27
  93.     7.1 Introduction.....................................................27
  94.     7.2 Editing..........................................................27
  95.     7.3 Keyboard Command Stack...........................................27
  96.     7.4 DOS/ToolBOX Command Processing...................................28
  97.     7.5 Memory Utilization...............................................28
  98.     7.6 Command Line Variables...........................................29
  99.     7.7 External Command Access..........................................30
  100.  
  101.     8.0 COMMAND SEQUENCING...............................................31
  102.     8.1 Introduction.....................................................31
  103.     8.2 File Selection...................................................31
  104.     8.3 Soft Selection...................................................32
  105.     8.4 Basic Point-and-Shoot Operations.................................32
  106.     8.5 Command Sequencing...............................................32
  107.     8.6 Display Output...................................................33
  108.  
  109.     9.0 ADDITIONAL COMMANDS..............................................34
  110.     9.1 Window Control...................................................34
  111.     9.2 Directory Control................................................35
  112.  
  113.  
  114.  
  115.  
  116.  
  117.     9.3 Window Contents..................................................36
  118.     9.4 DOS Commands.....................................................37
  119.     9.5 Quick Commands...................................................38
  120.     9.6 Inferred Batch File Selection....................................39
  121.     9.7 Explicit Program Requests........................................41
  122.  
  123.     10.0 INTRINSIC COMMANDS..............................................42
  124.     10.1 Typical Usage...................................................42
  125.     10.2 Intrinsic DIR command...........................................42
  126.     10.3 Intrinsic CD command............................................42
  127.     10.4 Intrinsic DEL Command...........................................42
  128.     10.5 Intrinsic KILLDIR Command.......................................43
  129.     10.6 Intrinsic SEL Command...........................................43
  130.  
  131.  
  132.     APPENDIX A : ToolBOX COMMAND LINE ARGUMENT SUMMARY...................44
  133.  
  134.     APPENDIX B : DIRECTORY DISPLAY PARAMETERS............................46
  135.  
  136.     APPENDIX C : COMMAND SUMMARY.........................................48
  137.  
  138.     APPENDIX D : INTRINSIC COMMAND SUMMARY...............................52
  139.  
  140.  
  141.  
  142.  
  143. ToolBOX User Manual                                                   Page 1
  144. ____________________________________________________________________________
  145.  
  146.  
  147.  
  148. 1.0 INTRODUCTION
  149.  
  150. 1.1 General
  151.  
  152.     Computers are getting bigger, faster, and more complex.  It is essent-
  153.     ial to find a way to simplify the process of accessing and controlling
  154.     the myriad of data and programs on our systems.  The ToolBOX will help
  155.     in achieving that goal.
  156.  
  157.     In simple terms, ToolBOX presents a window showing a directory display
  158.     of the files in a chosen directory.  These files can be selected and
  159.     involved in copy, delete, or user defined operations - often with only
  160.     a single keystroke.  If the file selected is an application program or
  161.     one of its data files, such as a word processor document, just one
  162.     keystroke gets you up and running.  Equally applicable to the casual or
  163.     experienced user,  ToolBOX provides an alternate and extended interface
  164.     to the conventional DOS command line.  Your existing knowledge of DOS
  165.     commands is not wasted as DOS commands are handled directly through
  166.     ToolBOX.
  167.  
  168.     ToolBOX continues after other similar file management systems have
  169.     exhausted their capabilities.  With this highly configurable system you
  170.     can almost "write" your own version of ToolBOX.  A version that will
  171.     complement your personal or business needs.  Virtually everything can
  172.     be changed: the colors, the sound levels, the operations associated
  173.     with the keys or the key assignments themselves.  All of your favorite
  174.     and specialized utilities can be incorporated into ToolBOX through its
  175.     configuration capability.
  176.  
  177.     Features include:
  178.  
  179.           o an easily manipulated directory display, including control over
  180.             display format and sort technique.
  181.  
  182.           o point-and-shoot operations to invoke programs or change
  183.             directories.
  184.  
  185.           o direct execution of DOS command lines, including the ability to
  186.             reference files that have been selected within the directory
  187.             display.
  188.  
  189.           o memory requirement can be reduced to less than 2KB.
  190.  
  191.           o multiple windows provide simultaneous views of the directory
  192.             display and DOS command data.
  193.  
  194.           o keyboard command stack of most recent command lines.  Commands
  195.             can be recalled for editing or reuse.
  196.  
  197.           o stack of most recently entered directories.  A single keystroke
  198.             can be used to cycle through these directories.
  199.  
  200.           o designated batch files invoked, for files selected with
  201.             specific match strings.
  202.  
  203. ToolBOX User Manual                                                   Page 2
  204. ____________________________________________________________________________
  205.  
  206.  
  207.  
  208.           o configuration capability to change colors, change display
  209.             format rules, bind multiple command lines to a single
  210.             keystroke, and much more.
  211.  
  212.     There are many reasons for using ToolBOX.  Visibility is better than
  213.     with DOS, repetitious operations are simplified, and EGA and VGA are
  214.     fully exploited.  Perhaps it's just because the month is spelled out in
  215.     dates or that commas are placed in numeric displays.  Maybe it's that
  216.     elusive warmer feeling; not that we at the Toolshed are in any way
  217.     biased.  Whatever your reason for adopting ToolBOX, enjoy.
  218.  
  219.  
  220.  
  221.  
  222. 1.2 About This Manual
  223.  
  224.     This manual describes the operational activities associated with the
  225.     ToolBOX program.  ToolBOX is a highly configurable program.  The major
  226.     configuration capabilities are accomplished through the separate
  227.     TBOXCFG program as described in detail in the TBOXCFG User Manual.
  228.     Start with this operational manual to learn how to use ToolBOX with the
  229.     default settings.  Then move on to learn how to personalize your
  230.     version of ToolBOX.
  231.  
  232.          Section 1       Be sure to finish reading Section 1 to familiarize
  233.                          yourself with the terminology peculiar to this
  234.                          manual.
  235.  
  236.          Section 2       A "Quick Start" introduction provides the user
  237.                          with sufficient information to experiment and
  238.                          become familiar with ToolBOX before delving into
  239.                          the details of the manual.
  240.  
  241.          Section 3       This section describes the installation and system
  242.                          requirements.
  243.  
  244.          Section 4       This section describes the ToolBOX command line
  245.                          arguments needed to alter the program operation
  246.                          each time the program is started.
  247.  
  248.     The ToolBOX program has three separate types of functions: basic
  249.     unchangeable functions, functions that can be altered via
  250.     configurations, and lastly, intrinsic commands that can be entered via
  251.     the keyboard command line.
  252.  
  253.          Section 5       This section provides an overview of ToolBOX's
  254.                          operation.  The basic functions that are not
  255.                          configurable are explained.
  256.  
  257.          Section 6       This section describes the directory display's
  258.                          default settings and the methods for manipulating
  259.                          the presentation data.
  260.  
  261.  
  262. ToolBOX User Manual                                                   Page 3
  263. ____________________________________________________________________________
  264.  
  265.  
  266.          Section 7       This section explains the entry of keyboard
  267.                          command lines and related facilities.
  268.  
  269.          Section 8       This section describes the point-and-shoot
  270.                          operations which can be modified by the conf-
  271.                          iguration program.
  272.  
  273.          Section 9       This section describes additional keystroke
  274.                          commands available.
  275.  
  276.          Section 10      This section describes the lower level commands
  277.                          (intrinsics) that are entered as separate command
  278.                          lines.  Refer to the TBOXCFG User Manual for
  279.                          additional intrinsic commands that are available
  280.                          during the configuration process.
  281.  
  282.  
  283.  
  284.          Appendix A      Summarizes the command line arguments.
  285.  
  286.          Appendix B      Summarizes the factory default settings for the
  287.                          directory display format and sort techniques.
  288.  
  289.          Appendix C      Summarizes the single keystroke commands.
  290.  
  291.          Appendix D      Summarizes the intrinsic commands.
  292.  
  293.  
  294.     This manual assumes you already have a basic understanding of DOS.
  295.     That you are familiar with such concepts as batch files, the PATH
  296.     variable, DOS files and directory structure, and the syntax of DOS
  297.     commands.  If not, refer to your DOS User Manual.
  298.  
  299.     It is also assumed you are familiar, at least at the conceptual level,
  300.     with other programs from The Binary Toolshed.  In particular with
  301.     TBOXCFG, BTSPATCH, VIEW, and TREE which can be used in conjunction with
  302.     ToolBOX.  These programs are briefly described in the glossary
  303.     contained in Section 1.4, and in detail in the Utilities User Manual.
  304.  
  305.  
  306.  
  307.  
  308. ToolBOX User Manual                                                   Page 4
  309. ____________________________________________________________________________
  310.  
  311.  
  312. 1.3 Documentation Conventions
  313.  
  314.     Conventions employed in examples throughout this manual include:
  315.  
  316.           [ | | | ]      square brackets enclose optional items, of which
  317.                          one may be selected.
  318.  
  319.  
  320.           case           has no significance unless stated otherwise.
  321.  
  322.  
  323.           <KEY STROKE>   all keys to be struck simultaneously are enclosed
  324.                          in angle brackets.  For example
  325.  
  326.                               <ALT d>, <PG-DN> and <CTRL c>.
  327.  
  328.  
  329.                         the diamond is the prefix character used for
  330.                          variables within a command line.  It is created
  331.                          with the CTRL key.  For example f is created by
  332.                          <CTRL f>.
  333.  
  334.                          Note: If this manual has been filtered with the
  335.                          TOASCII utility, the diamond appears as an
  336.                          asterisk - *.
  337.  
  338.  
  339.           - and /        while the two are actually interchangeable, this
  340.                          manual uses "-" as the prefix for the initial
  341.                          ToolBOX command line arguments and "/" as the
  342.                          prefix for parameters for keyboard and intrinsic
  343.                          commands.
  344.  
  345.  
  346.  
  347. 1.4 Words You Should Know
  348.  
  349.      The following definitions are useful as you read this manual.  This
  350.      glossary is a subset of the one contained in the General Product
  351.      Overview Manual.
  352.  
  353.  
  354.           argument            an option field on the ToolBOX command line.
  355.                               Note, the convention used within this manual
  356.                               is that  "arguments" refer to the ToolBOX
  357.                               startup command line, while "parameters" (see
  358.                               below) refer to options on command lines
  359.                               within ToolBOX.
  360.  
  361.  
  362.           BTSPATCH.EXE        a separate Binary Toolshed (BTS) utility
  363.                               program that allows the user to set their own
  364.                               default startup command line within each of
  365.                               the supplied BTS programs, including ToolBOX.
  366.                               Refer to the Utilities User Manual for more
  367.  
  368. ToolBOX User Manual                                                   Page 5
  369. ____________________________________________________________________________
  370.  
  371.  
  372.                               information.
  373.  
  374.  
  375.           command line        a single processable line of text.  This may
  376.                               be a DOS command line or a ToolBOX intrinsic.
  377.  
  378.  
  379.           command set         a collection of ToolBOX command lines.  This
  380.                               grouping is created through the TBOXCFG
  381.                               program.
  382.  
  383.  
  384.           DOS                 Disk Operating System, the control program
  385.                               for IBM Personal Computers.  The term refers
  386.                               to both the Microsoft (MS DOS) and the IBM
  387.                               (PC DOS) versions.
  388.  
  389.                               Refer to your DOS users manual for further
  390.                               explanations of DOS commands such as PATH,
  391.                               COPY, FORMAT, RD, and RENAME, as well as
  392.                               descriptions of wildcard characters, batch
  393.                               files, directories, and so on.
  394.  
  395.  
  396.           environment variables
  397.                               also referred to as set variables, these are
  398.                               user defined DOS names that can be associated
  399.                               with any desired text string.  Programs can
  400.                               interrogate these strings and act
  401.                               accordingly.  Use the DOS SET command to
  402.                               modify these variables - such as BTS, or
  403.                               PATH.
  404.  
  405.  
  406.           factory defaults    the initialization settings contained within
  407.                               the distribution version of The Binary
  408.                               Toolshed products.  These default values can
  409.                               be overridden by the BTSPATCH or TBOXCFG
  410.                               programs.
  411.  
  412.  
  413.           intrinsics          command lines understood and processed
  414.                               directly by ToolBOX, i.e. they are not passed
  415.                               on to DOS.  These command lines consist of a
  416.                               command word (e.g. "sel" or "del") and
  417.                               optionally one or more parameters.
  418.  
  419.  
  420.           key binding         the association of a command set with a
  421.                               particular keyboard keystroke.
  422.  
  423.  
  424.           keyboard command    a command line (DOS or intrinsic) entered
  425.                               manually through the ToolBOX command line as
  426.                               shown at the bottom of the directory display.
  427.  
  428. ToolBOX User Manual                                                   Page 6
  429. ____________________________________________________________________________
  430.  
  431.  
  432.  
  433.  
  434.           keystroke           a single identifiable entry through the
  435.                               keyboard.  This may be one key or multiple
  436.                               keys.  For example <a> or <CTRL ALT F9>.
  437.  
  438.  
  439.           matchlist           a file selection specification list that can
  440.                               specify a drive, path, and one or more file
  441.                               specifications.  Each file specification can
  442.                               use the DOS wildcard characters and be
  443.                               preceded by "!" to  indicate matching files
  444.                               should be removed from the selected list
  445.                               rather than added.  For example:
  446.  
  447.                                   c:\dos\*.* !*.com !*.exe
  448.  
  449.  
  450.           parameter           separate option field(s) following the
  451.                               command word on a command line.  Refer above
  452.                               to "argument".
  453.  
  454.  
  455.           PATH                the DOS reserved environment variable which
  456.                               designates alternate directories to be
  457.                               searched for program files.
  458.  
  459.  
  460.           path                a DOS directory specification consisting of
  461.                               an optional leading drive indicator and one
  462.                               or more directory names, e.g.
  463.  
  464.                                    d:\dos\5.00\
  465.  
  466.  
  467.           pathname            a DOS file specification consisting of a
  468.                               filename with an optional leading path, e.g.
  469.  
  470.                                    d:\dos\5.00\command.com
  471.  
  472.  
  473.           point-and-shoot     the ability to cursor to an object such as a
  474.                               file (hence point) and when <ENTER> is
  475.                               pressed (hence shoot) have a particular
  476.                               operation carried out based on some charac-
  477.                               teristic of the selected object - such as the
  478.                               extension.
  479.  
  480.  
  481.           popup menu          a window of menu selections that appears in
  482.                               the "middle" of the current screen.  The menu
  483.                               options may initiate actions directly or
  484.                               bring up further menus with more options.
  485.  
  486.  
  487. ToolBOX User Manual                                                   Page 7
  488. ____________________________________________________________________________
  489.  
  490.  
  491.           quick command line  single predefined command lines that may be
  492.                               initiated separately from the command sets
  493.                               bound to particular keystrokes.
  494.  
  495.  
  496.           redirection         a DOS capability which allows the normal
  497.                               input or output of a command to be altered to
  498.                               come from or go to a specified file.  Redir-
  499.                               ection can be used for the DOS command lines
  500.                               within ToolBOX.
  501.  
  502.  
  503.           toggle              to switch between alternatives: ON to OFF,
  504.                               from INSERT to OVERWRITE mode, from the DOS
  505.                               display to the ToolBOX display, etc.
  506.  
  507.  
  508.           TBOX.EXE            the main program from The Binary Toolshed, as
  509.                               documented in this manual.  While the
  510.                               documentation uses the "ToolBOX" designation,
  511.                               the actual program is abbreviated to "TBOX"
  512.                               to simplify keyboard entry.  If you find this
  513.                               confusing, simply rename the program file to
  514.                               the expected "TOOLBOX.EXE".
  515.  
  516.  
  517.           TBOXCFG.EXE         a separate BTS configuration program that
  518.                               allows extensive modifications to the basic
  519.                               ToolBOX operational capabilities.  Refer to
  520.                               the TBOXCFG User Manual for more details.
  521.  
  522.           TREE.EXE            a BTS utility program that graphically
  523.                               depicts the directory structure in the form
  524.                               of a tree that can be traversed with the
  525.                               cursor keys.  The user can cursor through the
  526.                               structure to change directories or examine
  527.                               files.  Refer to the Utilities User Manual
  528.                               for more information.
  529.  
  530.  
  531.           tsr                 a Transient and Stay Resident program.  These
  532.                               programs permanently retain a small portion
  533.                               of memory while they lie dormant waiting for
  534.                               a particular action.  These programs must be
  535.                               initiated before ToolBOX is run.
  536.  
  537.  
  538.           verification window A prompt window issued by ToolBOX to ensure
  539.                               the requested operation is really desired.
  540.  
  541.           VIEW.EXE            a BTS utility program that displays the
  542.                               contents of text files for viewing or
  543.                               browsing.  Refer to the Utilities User Manual
  544.                               for more information.
  545.  
  546.  
  547. ToolBOX User Manual                                                   Page 8
  548. ____________________________________________________________________________
  549.  
  550.  
  551. 2.0 QUICK START PROCEDURE
  552.  
  553.     Chances are, ToolBOX is not the first program of this form that you
  554.     have used.  This means you are familiar with normal keyboard and
  555.     windowing techniques.  If this is the case, you should feel comfortable
  556.     with ToolBOX without any special training.
  557.  
  558.     For most people, the fastest way to learn about a program is to use it.
  559.     For this reason we suggest you start using ToolBOX right away.  This
  560.     advance familiarity will provide you with a better understanding when
  561.     you come back and read the balance of this manual.
  562.  
  563.     For this sample session, you can bypass the installation and command
  564.     line argument descriptions in the following sections.  Just run the
  565.     TBOX.EXE executable without arguments.
  566.  
  567.     Once started, ToolBOX presents a directory display window.  Use the
  568.     cursor keys to move about the display, <SPACE> to select files (try
  569.     <ALT SPACE> and <CTRL SPACE> too), and <RETURN> to invoke point-and-
  570.     shoot operations on selected files.  DOS command lines can be entered
  571.     at any time.  For a help screen showing additional features, enter
  572.     <F1>.  Most functions should be obvious.
  573.  
  574.     This brief session should introduce you to most of the basic capabil-
  575.     ities of ToolBOX.  Ultimately you will need to return to this manual to
  576.     take full advantage of the program.  Return to learn such things as
  577.     what the "." to the left of the displayed directory name means, or what
  578.     to do when <ALT SPACE> won't work under MS Windows, or how to best take
  579.     advantage of your particular video card, or that you don't need to
  580.     enter the normal "C:" then "CD \BIN".  ToolBOX understands the
  581.     shorthand equivalent "C:\BIN".  With the additional information from
  582.     this manual at your fingertips, it can only get better.
  583.  
  584.  
  585.  
  586.  
  587.  
  588. ToolBOX User Manual                                                   Page 9
  589. ____________________________________________________________________________
  590.  
  591.  
  592. 3.0 INSTALLATION
  593.  
  594. 3.1 System Requirements
  595.  
  596.     ToolBOX has minimal system requirements:
  597.  
  598.           DOS       : 3.0 or higher
  599.  
  600.           Memory    : Varies with directory size but typically in the order
  601.                       of 80KB.  As ToolBOX in turn initiates other programs
  602.                       when requested, the more memory the better.
  603.  
  604.           VIDEO     : MDA, CGA, EGA, or VGA.
  605.  
  606.           DISK      : no specific requirements.
  607.  
  608.  
  609.  
  610. 3.2 Installation Configuration
  611.  
  612.     Installation is straight forward.  Place ToolBOX.EXE in the current
  613.     directory or any directory referenced by the PATH variable.
  614.  
  615.     This also applies to all files referenced during ToolBOX's operation,
  616.     including VIEW.EXE, TREE.EXE and the DOS COMMAND.COM file.  Note, it is
  617.     not sufficient to simply direct COMSPEC to this file.
  618.  
  619.     No changes are required to the CONFIG.SYS, however, there may be
  620.     advantages with using the ANSI.SYS driver.  These advantages are
  621.     discussed in Section 4 of this manual.  Refer to your DOS User manual
  622.     for instructions on adding this driver to your CONFIG.SYS file.
  623.  
  624.     If you are using swap facility, you may wish to set the TEMP
  625.     environment variable to a suitable directory.
  626.  
  627.  
  628. ToolBOX User Manual                                                  Page 10
  629. ____________________________________________________________________________
  630.  
  631.  
  632. 4.0 PROGRAM STARTUP
  633.  
  634. 4.1 Program Environment
  635.  
  636.     ToolBOX can run with all known programs.  ToolBOX has no unique
  637.     hardware, or software requirements that should cause problems for other
  638.     programs.
  639.  
  640.     The only stipulation is that TSR programs to be run at the same time as
  641.     ToolBOX must be installed before ToolBOX is started.
  642.  
  643.  
  644.  
  645. 4.2 Startup Settings
  646.  
  647.      Many of ToolBOX's operational aspects can be adjusted at the time the
  648.      program is started.  Arguments to control these features are specified
  649.      in any of four ways:
  650.  
  651.           o on the DOS command line following the program name.
  652.  
  653.           o by a DOS SET command for the "BTS" environment variable. For
  654.             example in your AUTOEXEC.BAT or at the DOS prompt enter
  655.  
  656.                 SET BTS=args
  657.  
  658.           o saved in the TBOX.EXE executable file by the BTSPATCH
  659.             program.
  660.  
  661.           o set in the configuration file established by the TBOXCFG
  662.             program.
  663.  
  664.      Which technique you use depends on a variety of factors such as
  665.      desired permanence of the argument or impact on other users or uses.
  666.      Any or all techniques can be used.  The same encoding rules apply to
  667.      all forms.
  668.  
  669.      Arguments are specified by a dash or a slash followed by one or more
  670.      characters that identify a particular action.  For example, to select
  671.      colors for a gray scale monochrome graphics monitor use:
  672.  
  673.                     -CG
  674.  
  675.      Note:
  676.  
  677.           o all arguments are optional, must begin with a dash or slash,
  678.             and may not contain spaces within the sequence.  Spaces between
  679.             arguments are optional.
  680.  
  681.           o case is not important unless specified otherwise.
  682.  
  683.           o the order of arguments is important only if there are
  684.             conflicting options, then the last argument has precedence.
  685.  
  686.           o an audible tone sounds if any argument isn't understood.
  687.  
  688. ToolBOX User Manual                                                  Page 11
  689. ____________________________________________________________________________
  690.  
  691.  
  692.             Subsequent arguments are typically still processed.
  693.  
  694.     The precedence of the various configuration mechanisms, from lowest to
  695.     highest level, is:
  696.  
  697.           o internal program (factory) defaults.
  698.  
  699.           o default settings established by BTSPATCH.
  700.  
  701.           o the environment set variable BTS.
  702.  
  703.           o command line arguments.
  704.  
  705.           o where applicable, requests entered at run-time by the user.
  706.  
  707.     When provided, settings for each level supersede settings from the
  708.     preceding level.  Configuration files from the TBOXCFG program expand
  709.     in place where defined (e.g. in the set variable or command line
  710.     argument list).
  711.  
  712.     In the following argument definitions, enclosing brackets [ ] identify
  713.     a sequence of options of which one must be used.  For example, for the
  714.     definition -C[ b c g ], the three valid argument sequences are -Cb -Cc
  715.     and -Cg.
  716.  
  717.     All the following arguments are optional; in their absence ToolBOX will
  718.     select values that are suitable for the current environment.
  719.  
  720.  
  721.        SELECT VIDEO OUTPUT FORM:
  722.  
  723.                -V[b m c s e v] [25 43 50]
  724.  
  725.           By default, ToolBOX will select a video mode applicable to the
  726.           hardware(m,c) state at program startup.  The -V argument is used
  727.           to override this selection in order to use a different monitor
  728.           type (m,c,s,e,v), to use a different output technique (b,s) or to
  729.           alter the screen resolution (25, 43, 50).
  730.  
  731.                b    use BIOS output routines.  Normally video data is
  732.                     issued directly to the video card.  Using the BIOS will
  733.                     slow down the video update rate but may be necessary
  734.                     for some incompatible systems.
  735.  
  736.                m    assume monochrome text (MDA) video card.
  737.  
  738.                c, e, or v
  739.                     assume color graphics (CGA, EGA, or VGA) video card.
  740.                     All 3 settings have the same effect.
  741.  
  742.                s    assume CGA graphics video card and do processing to
  743.                     remove snow on screen.  This option slows down the
  744.                     update rate and should be avoided unless necessary.
  745.  
  746.                25   assume 25 visible lines of text.
  747.  
  748. ToolBOX User Manual                                                  Page 12
  749. ____________________________________________________________________________
  750.  
  751.  
  752.  
  753.                43   assume EGA/VGA card and use the 43 line by 80 column
  754.                     mode.
  755.  
  756.                50   assume VGA card and use the 50 line by 80 column mode.
  757.  
  758.  
  759.        DEFAULT COLOR SELECTION:
  760.  
  761.                -C[m c g]
  762.  
  763.           Selects one of the predefined color tables.  If the option is not
  764.           provided the current video hardware configuration is examined and
  765.           m or c assumed.  Any setting can be used with any monitor.  Also,
  766.           there is no connection between the -C and -V settings.
  767.  
  768.                m    monochrome text displays.
  769.  
  770.                c    color displays.
  771.  
  772.                g    gray scale displays, where LCD or monochrome monitors
  773.                     are driven from color video cards.  The color coding is
  774.                     greatly affected by the particular combination of video
  775.                     card and display device.  The configuration file
  776.                     facility may produce superior results.
  777.  
  778.  
  779.        SELECT EXECUTION ASPECTS:
  780.  
  781.                -X [Hh] [Dd] [Cc] [Xx] [Rr] [Pp] [Tt] [a#] [Mm]
  782.  
  783.           The following eXecution arguments are two state settings. Case is
  784.           important.  The uppercase value sets the condition.
  785.  
  786.           The default is:
  787.  
  788.                          -XhdcXrTa7m
  789.  
  790.  
  791.                H/h  include hidden and system files in directory displays.
  792.  
  793.                D/d  perform directory display and exit.  Both the C and D
  794.                     options use the screen line count from DOS; any -V##
  795.                     argument is ignored.
  796.  
  797.                C/c  perform directory display and exit only if the
  798.                     directory display fits within the single screen.  If
  799.                     the conditional exit is not taken, ToolBOX starts in
  800.                     DIRECTORY phase.
  801.  
  802.                X/x  go directly to SELECT phase.
  803.  
  804.                R/r  restore DOS screen on exit rather than the ToolBOX
  805.                     directory.
  806.  
  807.  
  808. ToolBOX User Manual                                                  Page 13
  809. ____________________________________________________________________________
  810.  
  811.  
  812.                P/p  set the default PAUSE state.  Following the execution
  813.                     of DOS commands, the PAUSE state determines whether the
  814.                     DOS output screen should be temporarily held or
  815.                     immediately replaced by the ToolBOX screen.  In either
  816.                     case the data of the DOS screen is retained and can be
  817.                     reviewed at a later time.  The PAUSE state can also be
  818.                     set through the popup menu (See Section 5.5) or through
  819.                     configuration flags on the individual command sets (see
  820.                     the TBOXCFG User Manual).
  821.  
  822.                T/t  when in EGA/VGA split screen mode, tell DOS specific-
  823.                     ally about available lines in split area.  DOS, as well
  824.                     as many application programs, refer to a BIOS variable
  825.                     to determine if they have 25, 43, or 50 lines
  826.                     available.  To work correctly with ToolBOX's split
  827.                     screen mode, DOS must be limited to 25 lines.  In most
  828.                     cases it is preferable to let other programs use the
  829.                     full screen which in split mode is the full 43 or 50
  830.                     lines.  If you are using DOS 3 or 4, this can be done
  831.                     if you are using the DOS ANSI screen driver which
  832.                     automatically forces DOS to scroll within the top 25
  833.                     lines, regardless of the actual screen size.  With
  834.                     ANSI.SYS and the "t" option the BIOS variable can
  835.                     reflect the actual physical lines available so programs
  836.                     such as VIEW, LIST, TED, DIRMATCH etc. use the full
  837.                     screen yet DOS is restricted to the top 25 lines.
  838.  
  839.                     This does not apply to DOS 5.0 or other ANSI drivers
  840.                     such as VANSI, or PC Magazines ANSI.COM.  For these
  841.                     systems use the default "T" setting.
  842.  
  843.                     ToolBOX will operate correctly with or without ANSI.SYS
  844.                     installed.  The only possible restriction being that in
  845.                     43 or 50 line mode without ANSI.SYS, some application
  846.                     programs may be needlessly restricted to 25 lines with
  847.                     DOS 3 or 4.
  848.  
  849.                a#   select permitted audible tones.  Add the numbers for
  850.                     the particular sounds you wish to hear.
  851.  
  852.                          1 border violations.  Short beeps for attempts to
  853.                            cursor beyond screen borders.
  854.  
  855.                          2 syntax.  Brief chirp made when ToolBOX is unable
  856.                     to
  857.                            understand a keyboard request.  Typically an
  858.                            unexpected character was entered.
  859.  
  860.                          4 error.  Longer warble made when a requested
  861.                            operation could not be carried out.  For example
  862.                            a file could not be deleted because it had read-
  863.                            only attributes .
  864.  
  865.                     The default is a7 - all sounds are enabled.
  866.  
  867.  
  868. ToolBOX User Manual                                                  Page 14
  869. ____________________________________________________________________________
  870.  
  871.  
  872.                M/m  retain file matchlist specification.  If the matchlist
  873.                     specification isn't retained, it is temporary and will
  874.                     revert to *.* the first time the directory display is
  875.                     updated.  This has no effect if a matchlist specific-
  876.                     ation argument isn't also present.
  877.  
  878.  
  879.        SELECT MEMORY UTILIZATION OPTIONS FOR SECONDARY PROGRAM INITIATION:
  880.  
  881.                -M [Aa] [Pp] [Dd] [Cc]
  882.  
  883.           When ToolBOX initiates an external program or application it can
  884.           optionally reduce its own size to less than 2KB by swapping
  885.           itself out of memory.  This makes more room available for the
  886.           initiated program/application.  Refer to Section 7.5 for an
  887.           explanation of why this may or may not be an advantage.
  888.  
  889.           The following Memory arguments are two state settings. Case is
  890.           important.  The uppercase value sets the condition.
  891.  
  892.           The default is:
  893.  
  894.                          -MaPDc
  895.  
  896.  
  897.                A/a  always swap external programs.
  898.  
  899.                P/p  swap to EMS (Expanded Memory System) memory if pos-
  900.                     sible.  Requires EMS 3.2 or better.  If both P and D
  901.                     are specified, expanded memory will be tried first - if
  902.                     insufficient EMS room exists, disk space will be used.
  903.  
  904.                D/d  swap to disk.  The directory used will be that
  905.                     indicated by the DOS TEMP environemnt variable.  If
  906.                     this does not exist, the DOS PATH string will be
  907.                     searched in order until a directory is found with
  908.                     sufficient room for the temporary file used during the
  909.                     swap process.
  910.  
  911.                     Normally this file is automatically deleted.  However
  912.                     if the initiated program crashes for any reason,
  913.                     ToolBOX may not be able to delete these temporary
  914.                     files.  These files show in the directory as SWP###,
  915.                     where ### is a numeric sequence number.  These files
  916.                     should be manually deleted if they occur.
  917.  
  918.                     Swapping to disk is considerably faster if the TEMP
  919.                     variable or the first directory on the PATH corresponds
  920.                     to a ramdisk.
  921.  
  922.                C/c  use the current directory for these temporary disk
  923.                     files in preference to the PATH directory.
  924.  
  925.  
  926. ToolBOX User Manual                                                  Page 15
  927. ____________________________________________________________________________
  928.  
  929.  
  930.         MATCH LIST SPECIFICATION FOR DIRECTORY PATH/FILE :
  931.  
  932.                [d:][path]matchlist
  933.  
  934.           Identifies the directory and/or set of files to be displayed on
  935.           startup.  This is for display purposes only, the current
  936.           directory remains unchanged.
  937.  
  938.                [d:][path]matchlist
  939.                     This is essentially a valid DOS file specification
  940.                     containing one or more of a disk drive, directory path,
  941.                     and any number of filename.ext match specifications.
  942.                     The wildcard characters "*" and "?" may be used within
  943.                     the file specification.  Each filename.ext may be
  944.                     prefixed by "!" to indicate files matching this
  945.                     specification are to be removed from the list of
  946.                     previously matched files.  If not provided, the parts
  947.                     default to the current drive, the current path, and *.*
  948.                     respectively.
  949.  
  950.           This is the only argument for which the leading prefix (-) is not
  951.           required.  Any argument that does not begin with a dash is
  952.           assumed to be a match-string within the matchlist specification.
  953.           Although the drive and directory can only be stated once, the
  954.           file specification field may be repeated any number of times.
  955.  
  956.           To permit dashes within filespecs, the specification is assumed
  957.           to continue until the next blank.
  958.  
  959.           If the matchlist specification is provided, only files matching
  960.           this criteria are displayed.  Unless the -xM option was also
  961.           specified, this will only remain in effect until the directory
  962.           window is redisplayed for any reason, when it will revert to
  963.           ".\*.*".  If -xM was provided, the specification will remain in
  964.           effect until a keyboard DIR command with a corresponding /M
  965.           option is entered.
  966.  
  967.  
  968.         SELECT DIRECTORY DISPLAY FORMAT:
  969.  
  970.                -F#
  971.  
  972.           Selects one of the pre-configured presentation display formats
  973.           for the files in the directory window.  This is equivalent to the
  974.           /F# display format parameter of the DIR command, or the format
  975.           option of the <F2><f> popup menu.  These are described in Section
  976.           6.2 and Section 5.5 respectively.
  977.  
  978.                #    single character specification for one of the 8
  979.                     settings.  This is stated as the index 1 through 8 or
  980.                     as the single identification letter used in the option
  981.                     window.  The identification letters and the display
  982.                     fields associated with them are shown in Appendix B.
  983.  
  984.  
  985. ToolBOX User Manual                                                  Page 16
  986. ____________________________________________________________________________
  987.  
  988.  
  989.                     The default setting is the 2 column Master format:
  990.  
  991.                           -F1
  992.  
  993.  
  994.         SELECT DIRECTORY SORT CRITERIA:
  995.  
  996.                -S#
  997.  
  998.            Selects one of the pre-configured sort procedures used for file
  999.            entries in the directory window.  This is equivalent to the /S#
  1000.            sort parameter of the DIR command, or the sort option of the
  1001.            <F2><s> popup menu.
  1002.  
  1003.                #    single character specification for one of the 8
  1004.                     possible sort criteria. This is stated as the index 1
  1005.                     through 8, or as the single identification letter used
  1006.                     in the option window.  The identification letter and
  1007.                     sort rules associated with each of the 8 indexes are
  1008.                     shown in Appendix B.
  1009.  
  1010.                     The default sort is first by extension, and then by
  1011.                     name:
  1012.                           -S1
  1013.  
  1014.  
  1015.          SPECIFY CONFIGURATION FILE:
  1016.  
  1017.                @cfgfile
  1018.  
  1019.            This argument selects a configuration file that has been
  1020.            established by the TBOXCFG program.  Only one configuration file
  1021.            may be referenced.
  1022.  
  1023.            If the file is not in the current directory, the full path must
  1024.            be provided.  An extension of ".CFG" is assumed if one is not
  1025.            specified.
  1026.  
  1027.            The contents of the configuration file (which may contain
  1028.            additional command line arguments) are processed immediately at
  1029.            the spot in the command line where the reference occurs.
  1030.  
  1031.  
  1032.  
  1033. ToolBOX User Manual                                                  Page 17
  1034. ____________________________________________________________________________
  1035.  
  1036.  
  1037.      EXAMPLES OF COMMAND LINE ARGUMENTS (including equivalent BTS SET
  1038.      variable assignments and BTSPATCH program usage):
  1039.  
  1040.           o the defaults are equivalent to :
  1041.  
  1042.  
  1043.                >SET BTS=-V25 -XshdcXrTa7m *.* -MaPDc -F1 -S1
  1044.  
  1045.                     NOTE: The non-stated video and color defaults are
  1046.                           automatically determined on startup.
  1047.  
  1048.  
  1049.           o the typical use:
  1050.  
  1051.                >SET BTS=
  1052.                >TBOX
  1053.  
  1054.           o allocate 43 screen lines for a gray scale monitor, sort by
  1055.             date, display hidden files, don't show .bak or .pag files
  1056.             display only file name and extension information in the
  1057.             directory display, turn off the audio and because we're using
  1058.             ANSI.SYS and not DOS 5, don't tell DOS it must only use 25
  1059.             lines:
  1060.  
  1061.                >SET BTS=-Vv43-Cg-F4-S4 !*.pag
  1062.                >TBOX -Xa0Ht !*.bak
  1063.  
  1064.           o or, equivalent to the above:
  1065.  
  1066.                >BTSPATCH BTS= -V43 -XH
  1067.                >TBOX -S4-F4 -Xa0 -Cg-Xt !*.bak !*.pag
  1068.  
  1069.           o to setup a simple menu for initiating BASIC files from a
  1070.             different directory:
  1071.  
  1072.                >TBOX -F5 -XM c:\basic\*.bas
  1073.  
  1074.           o our personal favorite here at the Binary Toolshed (for DOS 3.3)
  1075.  
  1076.                >BTSPATCH TBOX=-ve43-Xt
  1077.  
  1078.  
  1079. ToolBOX User Manual                                                  Page 18
  1080. ____________________________________________________________________________
  1081.  
  1082.  
  1083. 5.0 OPERATIONAL OVERVIEW
  1084.  
  1085. 5.1 Introduction
  1086.  
  1087.     ToolBOX simultaneously provides directory display operations, point-
  1088.     and-shoot functions, and a direct pass through mechanism for DOS
  1089.     commands.  The balance of this manual outlines the basic keyboard
  1090.     commands for performing these functions.
  1091.  
  1092.     In particular, Sections 5 through 9 describe features available through
  1093.     the factory default command settings.  The default settings will be
  1094.     sufficient for most users.  The TBOXCFG User Manual describes the lower
  1095.     level ToolBOX functions used to implement these operations, as well as
  1096.     the configuration facility for augmenting or altering the basic
  1097.     commands.  There are many configuration capabilities that are probably
  1098.     not obvious from reading this manual such as changing the top banner
  1099.     line or the colors, or recognizing particular programs and accordingly
  1100.     altering the program swap, screen swap, or pause state.  Refer to the
  1101.     TBOXCFG manual for a complete list of the configuration capabilities.
  1102.  
  1103.     Because of the configurability of ToolBOX, the descriptions in this
  1104.     manual refer to the factory default settings within the program before
  1105.     any possible replacement by user configuration files.  Configuration
  1106.     files could alter the function keys or the functions associated with
  1107.     these keys.  Refer to the on-line help for the particular commands that
  1108.     are actually available.
  1109.  
  1110.     Unless noted otherwise, commands described in the following sections
  1111.     can be executed at any time the system is in its normal directory
  1112.     display state.
  1113.  
  1114.  
  1115.  
  1116. 5.2 The Basics
  1117.  
  1118.     The program starts with a directory display.  ToolBOX fills the screen
  1119.     window with a display of files in the current directory.  See Figure
  1120.     5.2/1.  The header portion of the display identifies global information
  1121.     such as volume, directory name, amount of space used by the displayed
  1122.     directory and the amount of free space on the disk volume.  The lower
  1123.     portion displays the actual files organized in serpentine fashion in a
  1124.     varying number of columns across the window.  This is the view you will
  1125.     have virtually all the time you are in ToolBOX.
  1126.  
  1127.     The <LEFT>, <RIGHT>, <UP>, <DOWN>, <PG UP>, and <PG DN> keys move the
  1128.     cursor through the directory display.  <HOME> and <END> move the cursor
  1129.     to the top and bottom lines of the current display respectively, while
  1130.     <HOME><HOME> and <END><END> move the cursor to the extreme bounds of
  1131.     the file list.  <TAB> is similar to the <DOWN> key except that at the
  1132.     end of a column <TAB> will automatically move to the start of the
  1133.     succeeding column.
  1134.  
  1135.     <SPACE> selects the file at the current cursor position.  Selected
  1136.     files (or directories) may either be used in point-and-shoot operations
  1137.     or referenced by DOS command lines.  Various video attributes indicate
  1138.  
  1139. ToolBOX User Manual                                                  Page 19
  1140. ____________________________________________________________________________
  1141.  
  1142.  
  1143.     the current cursor position and which files are selected.
  1144.  
  1145.     <RETURN> initiates the point-and-shoot operation on selected files.
  1146.  
  1147.  
  1148.     ╒═The Binary Toolshed ══════════ ToolBOX ═════════ Tue Jly14/93 10:34:10═╕
  1149.     │ . D:\DOS50\*.*                                              Vol: SYS   │
  1150.     │   521,277 bytes in 33 files                        815,104 free (2%)   │
  1151.     ╞════════════════════════════════════════════════════════════════════════╡
  1152.     │\        ..    <DIR>                 FDISK   .EXE 57,224  09Apr91 05:00 │
  1153.     │ ASSIGN  .COM  6,399  09Apr91 05:00  LABEL   .EXE  9,390  09Apr91 05:00 │
  1154.     │rCOMMAND .COM 47,845  09Apr91 05:00  MEM     .EXE 39,818  09Apr91 05:00 │
  1155.     │ DISKCOMP.COM 10,652  09Apr91 05:00  REPLACE .EXE 20,226  09Apr91 05:00 │
  1156.     │ DISKCOPY.COM 11,793  09Apr91 05:00  SETVER  .EXE 12,007  09Apr91 05:00 │
  1157.     │ DOSKEY  .COM  5,883  09Apr91 05:00  SHARE   .EXE 10,912  09Apr91 05:00 │
  1158.     │ FORMAT  .COM 32,911  09Apr91 05:00  SUBST   .EXE 18,478  09Apr91 05:00 │
  1159.     │ MODE    .COM 23,537  09Apr91 05:00  UNDELETE.EXE 13,924  09Apr91 05:00 │
  1160.     │ MORE    .COM  2,618  09Apr91 05:00  XCOPY   .EXE 15,804  09Apr91 05:00 │
  1161.     │ SYS     .COM 13,440  09Apr91 05:00  QC      .INI    573  10Jly91 22:58 │
  1162.     │ UNFORMAT.COM 18,576  09Apr91 05:00  ANSI    .SYS  9,029  09Apr91 05:00 │
  1163.     │ APPEND  .EXE 10,774  09Apr91 05:00  DRIVER  .SYS  5,409  09Apr91 05:00 │
  1164.     │ ATTRIB  .EXE 15,796  09Apr91 05:00  HIMEM   .SYS 11,552  09Apr91 05:00 │
  1165.     │ CHKDSK  .EXE 16,200  09Apr91 05:00  PRINTER .SYS 18,804  09Apr91 05:00 │
  1166.     │ COMP    .EXE 14,282  09Apr91 05:00  RAMDRIVE.SYS  5,873  09Apr91 05:00 │
  1167.     │ EXPAND  .EXE 14,563  09Apr91 05:00  SMARTDRV.SYS  8,335  09Apr91 05:00 │
  1168.     │ FC      .EXE 18,650  09Apr91 05:00                                     │
  1169.     │                                                                        │
  1170.     │                                                                        │
  1171.     │                                                                        │
  1172.     ╘════════════════════════════════════════════════════════════════════════╛
  1173.  
  1174.     FIGURE 5.2/1  Sample ToolBOX Display of Directory for DOS 5.0
  1175.  
  1176.  
  1177.     DOS commands are entered at any time simply by typing them in.  On the
  1178.     first character entered a command line will appear at the bottom of the
  1179.     screen.  Use the cursor keys, <INS>, <DEL>, etc. as required to edit the
  1180.     command line text.  Then <ENTER> to have it executed.  Use the
  1181.     <UP>/<DOWN> keys to scroll through the text of recently entered command
  1182.     lines.
  1183.  
  1184.     Operations such as deleting files or exiting to DOS generate
  1185.     verification prompt windows.  The desired action can be chosen with the
  1186.     <UP>/<DOWN> keys and selected with the <ENTER> key.  <ESC> is equivalent
  1187.     to the negative response.
  1188.  
  1189.     Use <ESC> at any time to back out of the current operation, such as the
  1190.     entry of a DOS command line, the current help window, the verification
  1191.     prompt, or simply to exit from ToolBOX.
  1192.  
  1193.     As this indicates, ToolBOX's basic operation is straight forward.  If
  1194.     you haven't done so already, try using ToolBOX before reading further
  1195.     sections.  Some experimentation at this point may help you in
  1196.     understanding the nuances and features you will read about.
  1197.  
  1198.  
  1199. ToolBOX User Manual                                                  Page 20
  1200. ____________________________________________________________________________
  1201.  
  1202.  
  1203.  
  1204.  
  1205. «X1»5.3 Directory/Select Modes
  1206.  
  1207.     ToolBOX functions in either of 2 modes: DIRECTORY or SELECT.  Normally
  1208.     the program starts and remains in SELECT mode.  DIRECTORY mode is a
  1209.     special state optimized for use as a basic directory display.
  1210.  
  1211.     The modes are similar in that both permit DOS command lines and other
  1212.     single key operations, and they both display directory data.  However,
  1213.     in SELECT mode the commands may reference and operate on individual
  1214.     files preselected from within the directory display.
  1215.  
  1216.     As there is no need to select individual files in DIRECTORY mode, all
  1217.     the cursor control keys move through the screen display in a slightly
  1218.     different manner than when in SELECT mode.
  1219.  
  1220.     <ALT F10> toggles between DIRECTORY and SELECT mode.  The <SPACE> key
  1221.     will also change the state from DIRECTORY to SELECT mode.
  1222.  
  1223.     Again, DIRECTORY mode is provided for use when ToolBOX is essentially a
  1224.     replacement for the DOS DIR command.  Unless stated otherwise, the
  1225.     balance of this manual assumes the user is in SELECT mode.
  1226.  
  1227.  
  1228.  
  1229. 5.4 Help Facility
  1230.  
  1231.     HELP is obtained by entering <F1>.
  1232.  
  1233.     Two levels of help are available:
  1234.  
  1235.           <F1>      single line descriptions of each command showing:
  1236.                          o selected file match string requirement, or
  1237.                            "----" if not applicable.
  1238.                          o keyboard key used to initiate the command.
  1239.                          o short description.
  1240.  
  1241.           <ALT F1>  description lines as above plus the actual command
  1242.                     lines (DOS or ToolBOX intrinsics) used to carry out the
  1243.                     operation.
  1244.  
  1245.     Within the help screen, commands are listed in command search order.
  1246.  
  1247.     Use <UP>,<DOWN>, <PG UP>, <PG DN>, <HOME>, <END> to scroll within the
  1248.     help screens.  Use <ESC> to exit the help mode and return to the
  1249.     directory display.
  1250.  
  1251.  
  1252.  
  1253. 5.5 Popup Menu Window
  1254.  
  1255.     A popup menu can be invoked with <F2>, or </>.  This menu provides an
  1256.     alternative mechanism for entering several of the more commonly used
  1257.     ToolBOX commands.
  1258.  
  1259. ToolBOX User Manual                                                  Page 21
  1260. ____________________________________________________________________________
  1261.  
  1262.  
  1263.  
  1264.     Within the popup window use <UP> and <DOWN> to move the highlighted
  1265.     cursor position to another option.  Use <RETURN> to either invoke the
  1266.     option at the current cursor, or if applicable to select the next level
  1267.     of options.  <ESC> to exit without making any changes.
  1268.  
  1269.     Where applicable, a diamond appears beside the option corresponding to
  1270.     the current setting.
  1271.  
  1272.     All of the command functions available through the popup menu are
  1273.     available elsewhere, although usually in a less intuitive form.
  1274.  
  1275.     In particular, the functions:
  1276.  
  1277.           . execute a quick command line.  Section 9.5 describes how quick
  1278.             command lines are created, executed, or deleted.  The popup menu
  1279.             is the only method for displaying the quick command lines.
  1280.  
  1281.           . select one of the 8 possible directory display formats.  See
  1282.             Section 6.2.
  1283.  
  1284.           . select one of the 8 possible directory display sort algorithms.
  1285.             See Section 6.2.
  1286.  
  1287.           . set the state of the PAUSE flag.  The flag determines what
  1288.             happens to the DOS screen on completion of DOS commands.  See
  1289.             Section 9.3.
  1290.  
  1291.           . set the state of the DIRECTION flag. See Section 9.3.
  1292.  
  1293.  
  1294.  
  1295. 5.6 Error Reporting
  1296.  
  1297.     Four levels of audio tones of increasing significance denote invalid
  1298.     data entry:
  1299.  
  1300.           o Level 1     : signals attempts to move past the extremes of the
  1301.                           directory display.
  1302.  
  1303.           o Level 2     : signals a keystroke entry is not understood.
  1304.  
  1305.           o Level 3     : signals a requested operation was not successful,
  1306.                           such as a file could not be deleted.
  1307.  
  1308.           o Level 4     : for serious problems that shouldn't have been
  1309.                           feasible to fail or for which continued operation
  1310.                           is questionable: a TSR program was run after
  1311.             ToolBOX,
  1312.                           insufficient memory available, internal errors,
  1313.                           etc.
  1314.  
  1315.     The first three levels can be selectively disabled with the -Xa# command
  1316.     line argument.
  1317.  
  1318.  
  1319. ToolBOX User Manual                                                  Page 22
  1320. ____________________________________________________________________________
  1321.  
  1322.  
  1323.  
  1324.  
  1325. 5.7 Exit To DOS
  1326.  
  1327.     Entering <ESC> in SELECT or DIRECTORY mode will generate a verification
  1328.     window.  It asks if you really want to end the ToolBOX program and
  1329.     return to DOS.
  1330.  
  1331.     Usually, when returning to DOS, the directory display will remain on the
  1332.     screen, although the window border will disappear.  If using the -XR
  1333.     command line argument when starting ToolBOX (see Section 4.2), the last
  1334.     DOS window is restored rather than retaining the current ToolBOX
  1335.     directory display.
  1336.  
  1337.  
  1338.  
  1339. ToolBOX User Manual                                                  Page 23
  1340. ____________________________________________________________________________
  1341.  
  1342.  
  1343. 6.0 DIRECTORY DISPLAY
  1344.  
  1345. 6.1 Introduction
  1346.  
  1347.     As illustrated in Section 5.2/1, the normal ToolBOX display window has
  1348.     two sections: the header area with directory summary information, and
  1349.     the larger bottom area with information on specific files within the
  1350.     directory.
  1351.  
  1352.     Most of the header fields are straight forward: current time, disk drive
  1353.     volume name, total file space used within the displayed directory, and
  1354.     available free space on the drive.  The directory path field within the
  1355.     header contains the file matchlist used to determine the files displayed
  1356.     in the lower file section.  The default is "*.*" so all files within the
  1357.     directory are displayed.  A "." to the left of the directory path
  1358.     indicates that the displayed directory is also the current directory.
  1359.  
  1360.     The bottom portion of the ToolBOX display window is similar to the
  1361.     information provided by the DOS DIR command.  Usually this shows files
  1362.     from the current directory.  Files are displayed/sorted in balanced
  1363.     vertical columns across the width of the window.  Excess file entries
  1364.     exist to the top or bottom of the visible window, not to the sides.
  1365.  
  1366.     The information presented for each file varies with each of the 8
  1367.     display formats, but contains one or more of the file name, file
  1368.     extension, size in bytes, last modification date, and status character.
  1369.     This status character, in order of precedence from the highest to the
  1370.     lowest, is:
  1371.  
  1372.                s   system file
  1373.                h   hidden file
  1374.                r   read-only file
  1375.                \   subdirectory
  1376.  
  1377.     The status character is blank if none of these conditions are
  1378.     applicable.
  1379.  
  1380.     Alter the display by changing the current directory, or by adjusting the
  1381.     presentation rules.  Each time the directory data is updated, a sequence
  1382.     of incrementing numbers appear randomly around the screen.  This has no
  1383.     practical purpose other than to fill in the time.
  1384.  
  1385.     Section 7 elaborates on entering command lines.  Regarding the commands
  1386.     described in the balance of this section,  just accept for the moment
  1387.     that DOS-like command lines can be entered at any time.  Also, while the
  1388.     ToolBOX "dir" and "cd" commands are not identical to the DOS
  1389.     equivalents, they are very similar.
  1390.  
  1391.  
  1392. ToolBOX User Manual                                                  Page 24
  1393. ____________________________________________________________________________
  1394.  
  1395.  
  1396. 6.2 The DIR Command
  1397.  
  1398.     The "dir" command controls the presentation aspects.  Neither case
  1399.     (except for the dir itself) nor parameter order (except for the
  1400.     matchlist "!" fields) are significant.
  1401.  
  1402.         dir [ [d:][path][matchlist] ] [/f#] [/s#] [/hH] [/m]
  1403.  
  1404.  
  1405.             [d:][path][matchlist]
  1406.                     Identifies directory display drive, path and one or more
  1407.                     file match-string specifications.  The "?" and "*"
  1408.                     wildcard characters are permitted in each of the file
  1409.                     match specifications.
  1410.  
  1411.                     The "!" character can be used as a prefix to indicate
  1412.                     that files matching that specification will be removed
  1413.                     from the file list selected by previous selections.
  1414.                     Evaluation is always done left to right.  If the first
  1415.                     field begins with "!", an implied leading "*.*" is
  1416.                     assumed.
  1417.  
  1418.                     Again note, the drive and path can only occur once, but
  1419.                     the file specification with or without the "!" can occur
  1420.                     any number of times.
  1421.  
  1422.  
  1423.             /f#     Selects one of 8 pre-configured display formats.  # may
  1424.                     be a numeric index (1 through 8) or the letter corres-
  1425.                     ponding to the first capital in the option labels.
  1426.                     While summarized here, these labels and the correspond-
  1427.                     ing display formats are described in detail in Appendix
  1428.                     B.
  1429.                               1  Master
  1430.                               2  filename-Size
  1431.                               3  filename-Date
  1432.                               4  Filename
  1433.                               5  Name
  1434.                               6  mAster (B)
  1435.                               7  siZe-filename
  1436.                               8  filename-sizE (B)
  1437.  
  1438.                     The number of columns automatically adjusts to
  1439.                     accommodate the varying amounts of information for each
  1440.                     selection.  Leaving the # field blank restores the
  1441.                     program startup setting.
  1442.  
  1443.  
  1444.             /s#     Selects one of 8 pre-configured sort algorithms.  # may
  1445.                     be a numeric index (1 through 8) or the letter corres-
  1446.                     ponding to the first capital in the option description
  1447.                     label.  These labels, used in the <F2> popup window are
  1448.                     described in Appendix B.  This appendix also explains
  1449.                     the specific sort criteria used for each of the 8
  1450.                     selections.
  1451.  
  1452. ToolBOX User Manual                                                  Page 25
  1453. ____________________________________________________________________________
  1454.  
  1455.  
  1456.  
  1457.                               1  eXtension-name
  1458.                               2  Date-name
  1459.                               3  Size-name
  1460.                               4  dOs order
  1461.                               5  Name-extension
  1462.                               6  extension-daTe
  1463.                               8  extension-siZe
  1464.                               8  Reverse-date-name
  1465.  
  1466.                     Again, leaving the # field blank restores the program
  1467.                     startup setting.
  1468.  
  1469.  
  1470.             /m      Locks in the matchlist specification.  Without this
  1471.                     parameter the matchlist is used for this display update
  1472.                     only, with the display reverting back to the prior
  1473.                     matchlist specification on the next update.  The "/m"
  1474.                     makes the matchlist specification permanent until
  1475.                     another DIR command with a "/m" parameter is used.
  1476.  
  1477.             /h or /H
  1478.                     Setting to exclude or include hidden and system files in
  1479.                     the display directory:
  1480.  
  1481.                               h  do not include hidden and system files.
  1482.                               H  include hidden and system files.
  1483.  
  1484.                     If not stated, the hidden and system files are displayed
  1485.                     as per the ToolBOX -X[hH] command line argument
  1486.  
  1487.     The following example displays all the files in c:\DOS directory having
  1488.     an extension starting with c except for .com files, sorted in the
  1489.     natural DOS order, and showing only the size and filename for each file:
  1490.  
  1491.           dir /fs c:\dos\*.c /so !*.com
  1492.  
  1493.     The /f and /s parameters are permanently retained.  If the above command
  1494.     is followed by the simple
  1495.  
  1496.          dir d:\bin
  1497.  
  1498.     then /fs and /so remain in effect, but the file matchlist for d:\bin is
  1499.     assumed from what was in place prior to the first example.
  1500.  
  1501.  
  1502.  
  1503.  
  1504. ToolBOX User Manual                                                  Page 26
  1505. ____________________________________________________________________________
  1506.  
  1507.  
  1508. 6.3 The CD Command
  1509.  
  1510.  
  1511.     The change directory command ( cd ) is similar to the DOS counterpart
  1512.     but has fewer restrictions.
  1513.  
  1514.         [cd] [d:][path]
  1515.  
  1516.             [d:]    valid DOS drive.
  1517.  
  1518.             [path]  any valid DOS directory specification.
  1519.  
  1520.      Drive changes can be combined with the directory change.  Also, the
  1521.      command name itself is optional.  It is assumed that if the first
  1522.      command word is a directory, then the only logical operation is to
  1523.      change directories to it.  The ToolBOX command:
  1524.  
  1525.                c:\utl
  1526.  
  1527.      is equivalent to the DOS commands:
  1528.  
  1529.                c:
  1530.                cd \utl
  1531.  
  1532.  
  1533.  
  1534.  
  1535. ToolBOX User Manual                                                  Page 27
  1536. ____________________________________________________________________________
  1537.  
  1538.  
  1539. 7.0 KEYBOARD COMMAND LINE PROCESSING
  1540.  
  1541. 7.1 Introduction
  1542.  
  1543.     The keyboard command line is used to create text (command) lines that
  1544.     are subsequently processed, either by DOS or directly by ToolBOX.
  1545.     Pressing any printable character on the keyboard (or <CTRL f>, see
  1546.     Section 7.6) will place ToolBOX into command line mode.  The command
  1547.     line is on the bottom of the screen with a "CMD>" prefix.  Command lines
  1548.     may contain up to 76 characters.
  1549.  
  1550.     In this document, the term command line refers to any text that is
  1551.     subsequently processed as a command, by DOS or ToolBOX.  This text may
  1552.     originate from a quick command, be one of many within a command set
  1553.     associated with a function key, or be manually entered through the
  1554.     keyboard line at the bottom of the screen.  The actual source is not
  1555.     relevant unless specifically identified.
  1556.  
  1557.  
  1558.  
  1559. 7.2 Editing
  1560.  
  1561.     Editing keys are available for modifying the keyboard command line prior
  1562.     to pressing the <RETURN> key that starts processing.  <LEFT>, <RIGHT>,
  1563.     <HOME>, <END>, <DELETE> and <BACKSPACE> all behave as expected.  The
  1564.     <INSERT> key  toggles between insert mode (denoted with a lower line
  1565.     cursor) and overstrike mode (denoted with a block cursor).  <ESC>
  1566.     aborts the command line entry.  The cursor does not need to be at the
  1567.     end of the line when <RETURN> is pressed.
  1568.  
  1569.     Some commands, such as the <ALT f> format key binding discussed in
  1570.     Section 9.4, produce an initial command line that can be altered or
  1571.     completed before <RETURN> is entered.  If a portion of this line is
  1572.     displayed in reverse video, this field will be replaced if any printable
  1573.     characters are entered.
  1574.  
  1575.  
  1576. 7.3 Keyboard Command Stack
  1577.  
  1578.     ToolBOX maintains a command stack of the most recent command lines.
  1579.     When editing a command line, use <UP> or <DOWN> to scroll through
  1580.     previously entered commands.  Once recalled, these commands can be
  1581.     edited and modified, as if they were entered directly through the
  1582.     keyboard.  Duplicate command lines are not retained in the command
  1583.     stack.  The oldest commands are discarded when the 500 character
  1584.     capacity of the command stack is exceeded.
  1585.  
  1586.     When the command line is not visible, pressing <INSERT> will recall the
  1587.     most recent command line from the command stack.
  1588.  
  1589.  
  1590.  
  1591.  
  1592. ToolBOX User Manual                                                  Page 28
  1593. ____________________________________________________________________________
  1594.  
  1595.  
  1596. 7.4 DOS/ToolBOX Command Processing
  1597.  
  1598.     Excluding the keys used for editing or for manipulating the directory
  1599.     cursor, all keyboard data entry ultimately generates a line of text
  1600.     (command line) that must be processed by ToolBOX.  This command text can
  1601.     originate from many sources.  Manually entered in the command line at
  1602.     the bottom of the screen or perhaps generated from quick commands or
  1603.     command sets triggered by a single keystroke.  Regardless, the resulting
  1604.     command lines are processed in the same way.
  1605.  
  1606.     ToolBOX uses DOS to process some commands and handles others itself.
  1607.     These internal ToolBOX commands (or intrinsics) include dir, del, and
  1608.     cd.  Intrinsic commands can be entered as either upper or lower case.
  1609.     If the DOS equivalent is desired, enter the command characters in mixed
  1610.     case.  The command line will then be passed to DOS which is case
  1611.     insensitive.  For example "dir a:\*.c" will be processed by ToolBOX to
  1612.     update its window, while "Dir a:\*.c" will generate the traditional
  1613.     scrolling column of file information.
  1614.  
  1615.     By default any command line that doesn't start with one of the known
  1616.     intrinsic commands is assumed to be a DOS command line.  These reserved
  1617.     intrinsic command words described in the next subsections are cd, d:,
  1618.     dir, del, killdir, sel, tbx, t*x, or a directory name.
  1619.  
  1620.     The non-intrinsic command lines are essentially identical to those you
  1621.     would enter at the DOS prompt and are processed as if entered there.
  1622.     There are a few exceptions.  Operations specific to batch files are not
  1623.     supported (e.g. labels, errorLevel, or the GOTO command), nor are
  1624.     commands which modify environment variables (e.g. SET or PATH).  Also,
  1625.     you cannot invoke programs that establish TSR segments.  These programs
  1626.     should be installed prior to running ToolBOX.  If an invoked program
  1627.     does establish a resident TSR segment, ToolBOX will issue a warning of
  1628.     the imminent problem.  At best the memory space occupied by ToolBOX will
  1629.     be unusable by DOS on exit; at worst the conflicting memory requirements
  1630.     of ToolBOX and the TSR could cause either to crash.
  1631.  
  1632.     Programs, for which a specific path is not stated, may exist in the
  1633.     current directory or in any directory referenced by the PATH.
  1634.  
  1635.     Programs having .EXE or .COM extensions are executed directly - yielding
  1636.     a marginal speed and memory (about 4 KB) advantage.  For the others
  1637.     including programs without extensions, .BAT files, DOS internal commands
  1638.     or any command line with piping or redirection of STDIN or STDOUT, a
  1639.     secondary COMMAND.COM shell is invoked to process the command line.
  1640.  
  1641.  
  1642.  
  1643. 7.5 Memory Utilization
  1644.  
  1645.     If memory utilization is an issue, ToolBOX is capable of reducing its
  1646.     own memory requirements to less than 2Kb prior to invoking any external
  1647.     program.  ToolBOX can be rolled out (or swapped) simply by prefixing the
  1648.     command line with "@".  For example
  1649.  
  1650.                @wp whatever.txt
  1651.  
  1652. ToolBOX User Manual                                                  Page 29
  1653. ____________________________________________________________________________
  1654.  
  1655.  
  1656.  
  1657.     will allow WordPerfect to have essentially as much memory as if it had
  1658.     been run without ToolBOX.
  1659.  
  1660.     ToolBOX startup arguments (see Section 4.2) identify whether this
  1661.     rollout occurs automatically or only when the "@" is specified.  These
  1662.     arguments also specify whether EMS memory and/or disk is used for the
  1663.     intermediate storage.
  1664.  
  1665.     Most programs neither need nor can take advantage of significant amounts
  1666.     of memory.  When using EMS memory or a ram-disk, while admittedly small,
  1667.     there is always a speed penalty for swapping ToolBOX out of active
  1668.     memory.  It is suggested that the "@" function be reserved for programs
  1669.     where there is a specific advantage to doing so.
  1670.  
  1671.  
  1672. 7.6 Command Line Variables
  1673.  
  1674.     Variables, inserted into keyboard command lines by <CTRL letter>,
  1675.     simplify the entry of filenames and related information.  The typical
  1676.     command line use for these variables is to reference files selected
  1677.     within the directory display, although not all variables require
  1678.     selected files.  The variables and the values they are used to represent
  1679.     are:
  1680.  
  1681.           <CTRL d>    display drive letter
  1682.           <CTRL p>    display path
  1683.           <CTRL n>    1 to 8 character file name
  1684.           <CTRL x>    0 to 3 character extension
  1685.  
  1686.           <CTRL f>    minimized pathname, i.e. sufficient information to
  1687.                       uniquely reference the selected file from the current
  1688.                       directory
  1689.  
  1690.           <CTRL D>    current drive letter
  1691.           <CTRL P>    current path
  1692.  
  1693.     Within the keyboard command line, these variables are displayed as a
  1694.     diamond prefix followed by the alphabetic character.
  1695.  
  1696.     If the directory display is for the current directory then the current
  1697.     and display directories coincide, however, this need not be the case.
  1698.  
  1699.  
  1700. ToolBOX User Manual                                                  Page 30
  1701. ____________________________________________________________________________
  1702.  
  1703.  
  1704.     As an example, if the selected file is C:\DOS\XCOPY.COM then the
  1705.     respective variables when C:\DOS is displayed from two alternate
  1706.     directories, are:
  1707.  
  1708.                CURRENT DIR IS C:\DOS      CURRENT DIR IS A:\
  1709.                DISPLAY DIR IS C:\DOS      DISPLAY DIR IS C:\DOS
  1710.                ─────────────────────      ─────────────────────
  1711.      <CTRL D>            C                        A
  1712.      <CTRL d>            C                        C
  1713.      <CTRL P>            \DOS                     \
  1714.      <CTRL p>            \DOS                     \DOS
  1715.      <CTRL n>            XCOPY                    XCOPY
  1716.      <CTRL x>            COM                      COM
  1717.      <CTRL f>            XCOPY.COM                C:\DOS\XCOPY.COM
  1718.  
  1719.     Typically <CTRL f> is used to reference any file from the directory
  1720.     display as it automatically provides all required components and
  1721.     delimeters.  For example, to use the DOS COPY command to move the above
  1722.     file to a:\tmp when in a:\, the following are all correct and
  1723.     equivalent:
  1724.  
  1725.           copy c:\dos\xcopy.com a:\tmp
  1726.           copy <CTRL f> a:\tmp
  1727.           copy <CTRL d>:<CTRL p>\<CTRL n>.<CTRL x> <CTRL D>:\tmp
  1728.  
  1729.     Variables are especially useful for commands used with multiple
  1730.     selections from the directory display.  For example, to delete any
  1731.     number of selected directory entries, enter:
  1732.  
  1733.           rd <CTRL f>
  1734.  
  1735.     Command lines that contains a variable reference will be executed once
  1736.     for each selected file.
  1737.  
  1738.     Variables also make it easier to re-use command lines in the command
  1739.     stack.  There is usually less editing required.
  1740.  
  1741.  
  1742.  
  1743. 7.7 External Command Access
  1744.  
  1745.     While in keyboard command line mode, it is still possible to execute
  1746.     several of the single key stroke ToolBOX functions.  As a simple
  1747.     guideline, any command can be used as long as it does not conflict with
  1748.     characters used for editing the command lines, change the current
  1749.     directory, or reference the currently selected files.  The commands that
  1750.     can be used include those that alter the number of screen lines, change
  1751.     the split screen status, change the display sort and format settings,
  1752.     toggle ToolBOX/DOS views etc.  If you enter an inappropriate command, an
  1753.     audible tone will sound.
  1754.  
  1755.  
  1756.  
  1757. ToolBOX User Manual                                                  Page 31
  1758. ____________________________________________________________________________
  1759.  
  1760.  
  1761. 8.0 COMMAND SEQUENCING
  1762.  
  1763. 8.1 Introduction
  1764.  
  1765.  
  1766.     Commands are initiated in many ways within ToolBOX.  They may be
  1767.     manually entered DOS-like command lines, pre-configured sets of command
  1768.     lines or quicklines activated with a single key, a result of a point-
  1769.     and-shoot operation, or options chosen from popup menus.  The term
  1770.     point-and-shoot refers to the ability to cursor to a given object, and
  1771.     then have an operation carried out based on a characteristic of the
  1772.     selected item.
  1773.     Regardless of the source, the commands all share the same capabilities:
  1774.     all can access ToolBOX or DOS command facilities and all can optionally
  1775.     incorporate selected display files.
  1776.  
  1777.     This section describes the selection of files, and the determination of
  1778.     the operation to be performed on the selected files.
  1779.  
  1780.  
  1781.  
  1782. 8.2 File Selection
  1783.  
  1784.  
  1785.     In SELECT MODE files can be selected (or tagged) for inclusion in
  1786.     subsequent command execution.  Later sections will detail the actual
  1787.     execution.
  1788.  
  1789.     Move the cursor to a particular file, then use the following commands
  1790.     to select or unselect a file or groups of files:
  1791.  
  1792.  
  1793.             <SPACE>         toggle status of file at cursor.
  1794.  
  1795.             <SHIFT SPACE>   toggle status of file at cursor and then move
  1796.                             cursor to the next file (equivalent to <SPACE>
  1797.                             <TAB>).
  1798.  
  1799.             <SHIFT cursor-key> toggles a range of files that can be extended
  1800.                             in any direction by the <SHIFT LEFT>, <SHIFT
  1801.                             RIGHT>, <SHIFT UP>, or <SHIFT DOWN> keys.
  1802.  
  1803.             <ALT SPACE>     toggle status of all files with the same
  1804.                             extension as the file at the cursor.
  1805.  
  1806.             <CTRL SPACE>    toggle status of all files.
  1807.  
  1808.  
  1809.     All of the select commands toggle the current select state rather than
  1810.     specifically setting or resetting the status.  For group selects, the
  1811.     initial status is determined from the file at the cursor.  For example
  1812.     to select or reset all files, enter <CTRL SPACE> once or twice.
  1813.  
  1814.     ToolBOX remembers the order of selection.  For group selections, this is
  1815.     the file at the cursor followed by the other files in the order they
  1816.  
  1817. ToolBOX User Manual                                                  Page 32
  1818. ____________________________________________________________________________
  1819.  
  1820.  
  1821.     appear in the display.
  1822.  
  1823.     The display uses color combinations (or equivalent) to distinguish the
  1824.     selected files and the cursor position.
  1825.  
  1826.     In addition to the above commands, files can be de-selected by changing
  1827.     directories or by executing a command line which references the selected
  1828.     files.
  1829.  
  1830.  
  1831.  
  1832. 8.3 Soft Selection
  1833.  
  1834.     With soft selection, the file at the current cursor position is assumed
  1835.     to be selected if and only if no other files are selected.   This
  1836.     obviously is only applicable to commands that actually reference
  1837.     selected files.
  1838.  
  1839.  
  1840.  
  1841. 8.4 Basic Point-and-Shoot Operations
  1842.  
  1843.     Through the TBOXCFG program, it is possible to associate keyboard keys
  1844.     and selected file match strings with a particular operation.  When the
  1845.     key and file-match occur together, the operation is initiated -
  1846.     typically this is a specific program or batch file.  The default setup
  1847.     supports four standard point-and-shoot functions; all with the <RETURN>
  1848.     key.  These are:
  1849.  
  1850.             KEY     MATCHSTRING    ACTION
  1851.  
  1852.           <RETURN>  Directory *.*  Change directory
  1853.           <RETURN>  *.BAT          Execute batch file
  1854.           <RETURN>  *.COM          Execute .COM program
  1855.           <RETURN>  *.EXE          Execute .EXE program
  1856.           <RETURN>  *.*            VIEW *.*
  1857.  
  1858.     As this sequence is searched in order when <RETURN> is entered, VIEW
  1859.     will automatically be invoked to display any file that does not match
  1860.     one of the prior match-strings.  Also, refer to Section 9.6 for inferred
  1861.     batch file initiation.
  1862.  
  1863.     The TBOXCFG program can easily extend the list.  Then, based on a given
  1864.     match-string, your link program, data base application, editor, word
  1865.     processor, make facility, archive extract utility, spreadsheet, picture
  1866.     viewer, and so on, will automatically be initiated.  Use other keys as
  1867.     well.  For example ( <RETURN> *.asm ) could be used to edit a file and
  1868.     ( <ALT RETURN> *.asm ) to assemble the file.
  1869.  
  1870.  
  1871. 8.5 Command Sequencing
  1872.  
  1873.     The point-and-shoot function described above is a practical example of
  1874.     ToolBOX's generalized command system.  When an initial keystroke is
  1875.     entered, ToolBOX searches its list of possible commands.  Each command
  1876.  
  1877. ToolBOX User Manual                                                  Page 33
  1878. ____________________________________________________________________________
  1879.  
  1880.  
  1881.     in the list has a particular keystroke requirement and optionally a file
  1882.     match specification for a selected file.  The action taken by ToolBOX is
  1883.     based on the first definition matching the keystroke and the optional
  1884.     file selection.
  1885.  
  1886.     If the command set (or keyboard command) being executed did not contain
  1887.     a file match reference to a selected file, then the command executes
  1888.     once and only once.  Otherwise, the command selection and execution
  1889.     process will be performed once for each selected file.
  1890.  
  1891.     Within ToolBOX, virtually everything, except the cursor commands, is
  1892.     implemented through this command control facility.  The <F1> help
  1893.     screens list these commands in the natural search order and, for each,
  1894.     shows the keystroke and the optional file match requirements.
  1895.  
  1896.     If the sequence of operations being performed on the selected files
  1897.     should be aborted for any reason, enter <CTRL c> or <CTRL BREAK>.  The
  1898.     effectiveness of this attempted abort will depend on the timing of the
  1899.     entered characters and whether the program(s) being stopped also reads
  1900.     the abort characters.
  1901.  
  1902.  
  1903.     8.6 Display Output
  1904.  
  1905.     For intrinsic ToolBOX commands, or others that ToolBOX knows about and
  1906.     is aware won't affect the current display, ToolBOX performs the
  1907.     operation transparently without any visible effect on the directory
  1908.     display.
  1909.  
  1910.     For the other commands, ToolBOX first restores the DOS screen as it
  1911.     existed following the most recent ToolBOX initiated command line.  A
  1912.     pseudo command line preceded by two diamonds is generated on the DOS
  1913.     screen, followed by the normal command output.  On completion of the
  1914.     command, ToolBOX restores its directory display.  In many cases this
  1915.     will occur so rapidly it will be difficult to see what happened.  There
  1916.     are several mechanisms for retaining these results:
  1917.  
  1918.           o enter the -xP command line argument, /p, or <ALT F2> to set the
  1919.             PAUSE state.  Following commands with PAUSE set to ON, ToolBOX
  1920.             will wait until you are ready before erasing the DOS screen.
  1921.  
  1922.           o entering <F10> at any time will toggle between the ToolBOX
  1923.             directory display and the most recent DOS screen.
  1924.  
  1925.           o for those with EGA or VGA, entering <F9> will split the visible
  1926.             window so ToolBOX's directory display and the DOS screen can
  1927.             coexist simultaneously.
  1928.  
  1929.     The control of the window screens is explained in detail in Section 9.1.
  1930.  
  1931.  
  1932. ToolBOX User Manual                                                  Page 34
  1933. ____________________________________________________________________________
  1934.  
  1935.  
  1936. 9.0 ADDITIONAL COMMANDS
  1937.  
  1938. 9.1 Window Control
  1939.  
  1940.     The default ToolBOX display is in SELECT mode and contains 25 rows by 80
  1941.     columns.
  1942.  
  1943.  
  1944.       ADJUST NUMBER OF DISPLAY LINES
  1945.  
  1946.           <ALT 2>   Switch to 25 line mode
  1947.           <ALT 4>   Switch to 43 line mode
  1948.           <ALT 5>   Switch to 50 line mode
  1949.           <ALT 0>   Switch to current number of DOS lines
  1950.  
  1951.                     To work correctly, these require that you have the
  1952.                     proper video adapter.  EGA or VGA are required for 43
  1953.                     line mode.  VGA is required for 50 line mode.
  1954.  
  1955.       CHANGE WINDOW DISPLAY MODE
  1956.  
  1957.           <F10>     Switch between the ToolBOX and DOS window.  Use this
  1958.                     function after a DOS command has completed and you wish
  1959.                     to see the last complete DOS screen.  The DOS window is
  1960.                     for presentation purposes only.  You will be prompted to
  1961.                     enter any key to return to the ToolBOX window.
  1962.  
  1963.           <ALT F10> Toggle between SELECT and DIRECTORY modes.  While the
  1964.                     modes are similar, DIRECTORY mode simplifies the
  1965.                     operational use when using ToolBOX as a file directory
  1966.                     display program.  Visually, identify SELECT mode by the
  1967.                     bright border around the directory display.
  1968.  
  1969.           <F9>      Toggle DOS/ToolBOX split screen.  In this mode the top
  1970.                     25 screen lines are used by DOS with the ToolBOX file
  1971.                     window displayed in the balance of the lines at the
  1972.                     bottom.  As the ToolBOX and DOS screens are visible at
  1973.                     the same time, it not necessary to switch back and forth
  1974.                     during execution of DOS commands.
  1975.  
  1976.                     This requires at least EGA for the 43 line mode; it is
  1977.                     not available for MDA or CGA video cards.  If the system
  1978.                     is in 25 line mode, it will automatically switch to 43
  1979.                     or 50 line mode before performing the split.
  1980.  
  1981.                     In split screen mode it may not be obvious when the DOS
  1982.                     command has been completed and ToolBOX is again in
  1983.                     control.  Refer to the clock in the ToolBOX directory
  1984.                     header. While the invoked program is in control the
  1985.                     seconds field contains "--" rather than the incrementing
  1986.                     time.
  1987.  
  1988.     All of the above can be entered directly during the entry of keyboard
  1989.     command lines.
  1990.  
  1991.  
  1992. ToolBOX User Manual                                                  Page 35
  1993. ____________________________________________________________________________
  1994.  
  1995.  
  1996.  
  1997.  
  1998. 9.2 Directory Control
  1999.  
  2000.     In addition to the commands already mentioned for changing directories,
  2001.     the following keystroke sequences are also available:
  2002.  
  2003.  
  2004.       DIRECTORY DISPLAY ADJUSTMENTS
  2005.  
  2006.           <F8>      Refresh directory display.  Re-read the directory data
  2007.                     and update the display.  This may be necessary if the
  2008.                     screen is corrupted or if adjustments have been made to
  2009.                     the current directory files that ToolBOX is not yet
  2010.                     aware of (for example if diskettes are exchanged or on a
  2011.                     multiple user network).
  2012.  
  2013.           <ALT F8>  Move to display directory.  Ensures the current dir-
  2014.                     ectory corresponds to the display directory by changing
  2015.                     the current directory if required.
  2016.  
  2017.           <CTRL F8> Display current directory.  Ensures the directory
  2018.                     display corresponds to the current working directory by
  2019.                     changing the display directory if required.
  2020.  
  2021.  
  2022.       DIRECTORY STACK
  2023.  
  2024.           <keypad ->
  2025.                     Cycle backward through directories in the stack.
  2026.           <keypad +>
  2027.                     Cycle forward through directories in the stack.
  2028.  
  2029.                     ToolBOX maintains a stack of the most recently entered
  2030.                     directories, along with the last known cursor position
  2031.                     in each.  Entering <keypad +> or <keypad -> is
  2032.                     effectively equivalent to issuing a change directory
  2033.                     command to the next directory on the stack.
  2034.  
  2035.                     While data dependent, the stack typically can maintain
  2036.                     the last 20 unique directories entered.
  2037.  
  2038.  
  2039.       DISK DRIVE SHIFTS
  2040.  
  2041.           <CTRL PgDn> Change to the next lower installed drive.
  2042.           <CTRL PgUp> Change to the next higher installed drive.
  2043.  
  2044.                     These commands will sequence the current drive through
  2045.                     all valid drives, from a: to b: to c: etc.  This will
  2046.                     cycle around at the end of the sequence.
  2047.  
  2048.  
  2049.  
  2050.  
  2051. ToolBOX User Manual                                                  Page 36
  2052. ____________________________________________________________________________
  2053.  
  2054.  
  2055. 9.3 Window Contents
  2056.  
  2057.     These commands allow manipulation of the ToolBOX directory display
  2058.     window.
  2059.  
  2060.  
  2061.       FILE DISPLAY
  2062.  
  2063.  
  2064.           <ALT F9>  Select next sort criteria.
  2065.           <CTRL F9> Select next file display format.
  2066.  
  2067.                     These keys provide single key control of the file
  2068.                     display characteristics.  Each cycles to the next of the
  2069.                     eight possible settings.  This is similar to the <F2>
  2070.                     popup window or the command line "dir" command.
  2071.  
  2072.                     These are accessible during the entry of keyboard
  2073.                     commands.
  2074.  
  2075.  
  2076.       CONTROL FEATURES
  2077.  
  2078.           <ALT F2>  Toggle pause status.  The default state is OFF.  If ON,
  2079.                     ToolBOX will stay on the DOS screen after executing the
  2080.                     DOS command(s).  Entering any key will restore the
  2081.                     ToolBOX window.
  2082.  
  2083.                     The paused screen is identical to the DOS window
  2084.                     displayed with the <F10> command.  Concluding batch
  2085.                     files with the DOS PAUSE command achieves a similar
  2086.                     effect.  Pause mode is not required in split screen
  2087.                     mode.
  2088.  
  2089.                     Also try the <F2><p> popup menu command described in
  2090.                     Section 5.5.
  2091.  
  2092.  
  2093.  
  2094.           <CTRL F2> Toggle direction flag.  Normally <TAB>, <SHIFT SPACE>,
  2095.                     <ALT F9>, and <CTRL F9> move forward.  Toggling the
  2096.                     direction flag will cause them to go in the opposite
  2097.                     direction.
  2098.  
  2099.                     Also try the <F2><d> popup menu command described in
  2100.                     Section 5.5.
  2101.  
  2102.  
  2103. ToolBOX User Manual                                                  Page 37
  2104. ____________________________________________________________________________
  2105.  
  2106.  
  2107. 9.4 DOS Commands
  2108.  
  2109.         SINGLE KEYSTROKES FOR DOS FUNCTIONS
  2110.  
  2111.           <ALT d>   Delete selected file(s).  A prompt appears for
  2112.                     confirmation before deleting the selected files.
  2113.  
  2114.                     The one notable difference between the ToolBOX and DOS
  2115.                     implementations is that ToolBOX will not delete subdir-
  2116.                     ectories (i.e. the files in the next directory level).
  2117.                     This is intentional to prevent the accidental erasure of
  2118.                     directories, which is  easily done in a point-and-shoot
  2119.                     environment.  To delete subdirectories, either:
  2120.  
  2121.                          o move into the subdirectory itself.
  2122.  
  2123.                          o insert at least one capital in the "del" command
  2124.                            so the regular DOS version is used.
  2125.  
  2126.                          o use the ToolBOX killdir command described in
  2127.                            Section 9.7.
  2128.  
  2129.                     ToolBOX will beep if it cannot delete one of the
  2130.                     selected files.  Selected directories are ignored, i.e.
  2131.                     if deleting everything it's not necessary to
  2132.                     specifically de-select the directories.
  2133.  
  2134.                     The delete command is also available as an intrinsic,
  2135.                     entered as a keyboard command line:
  2136.  
  2137.                          del [d:][path]matchlist
  2138.  
  2139.                     This has the same particulars as explained above for
  2140.                     <ALT d>.  Refer to Section 10.4.
  2141.  
  2142.  
  2143.           <ALT p>   Print selected file(s).  This uses the DOS copy command
  2144.                     to copy selected files to the printer (PRN:).
  2145.  
  2146.  
  2147.           <ALT s>   Shell to DOS.  This will invoke a second version of the
  2148.                     DOS COMMAND.COM shell.  Enter DOS commands as required,
  2149.                     and then enter the EXIT command to return to ToolBOX.
  2150.                     Unlike exiting to DOS via <ESC>, this does not terminate
  2151.                     ToolBOX.  Shelling to DOS allows ToolBOX to retain its
  2152.                     initialization data, command line stack, directory
  2153.                     stack, and so on.
  2154.  
  2155.                     The current DOS prompt string is prefixed with "TBOX"
  2156.                     to serve as a reminder that you must eventually return
  2157.                     to ToolBOX.  Again, enter "EXIT" to cancel the DOS shell
  2158.                     and return to ToolBOX.
  2159.  
  2160.  
  2161.  
  2162.  
  2163. ToolBOX User Manual                                                  Page 38
  2164. ____________________________________________________________________________
  2165.  
  2166.  
  2167.       DOS COMMAND LINE TEMPLATES
  2168.  
  2169.           The following are not conventional commands.  Rather, each places
  2170.           a text string into the keyboard command line buffer.  This text
  2171.           can be edited as if it were entered through the keyboard.  This
  2172.           facility simply provides a quick way of generating standard
  2173.           command lines.  Edit the fields in the template as required to
  2174.           produce the desired command line.  Some templates produce fields
  2175.           highlighted in reverse video.  Enter <RETURN> to accept the
  2176.           highlighted text as is; entering any printable text causes the
  2177.           highlighted text to be deleted and replaced by the newly entered
  2178.           characters.
  2179.  
  2180.           The f parameter field in the following commands will be replaced
  2181.           by the selected file name when the command is actually processed.
  2182.  
  2183.  
  2184.           <ALT c>   Template for using the DOS COPY command to copy selected
  2185.                     files.  To use this template without further editing,
  2186.                     move to the target directory and then display the source
  2187.                     directory before you select the applicable files.
  2188.  
  2189.                          COPY f
  2190.  
  2191.  
  2192.           <ALT f>   Template for DOS FORMAT command.
  2193.  
  2194.                          FORMAT A:
  2195.  
  2196.  
  2197.           <ALT r>   Template for using the DOS RENAME command to rename
  2198.                     selected files.
  2199.  
  2200.                          RENAME f
  2201.  
  2202.  
  2203. 9.5 Quick Commands
  2204.  
  2205.     ToolBOX maintains a list of single line commands that can be executed at
  2206.     any time.  Use this facility for predefined directory change commands or
  2207.     commands that are used repeatedly.  This is the only mechanism available
  2208.     to configure commands from within ToolBOX without the TBOXCFG program.
  2209.  
  2210.     Quick commands can be predefined through the configuration file or
  2211.     created dynamically as explained below with <ALT F7> and <SHIFT F7>.
  2212.     Quick command contents, limited to one line, must be consistent with
  2213.     what ToolBOX can support through its keyboard command line.  Each is
  2214.     associated with a single letter designation label.  These are not
  2215.     templates that can be edited before being executed.  They are processed
  2216.     exactly as defined.  The currently defined quick commands can be viewed
  2217.     (or initiated) through the <F2><q> popup window.  There are no factory
  2218.     default quick commands defined.
  2219.  
  2220.     All quick commands are 2 keystroke sequences, the command key ( ' )
  2221.     followed by the label character.  There is no visual screen indication
  2222.  
  2223. ToolBOX User Manual                                                  Page 39
  2224. ____________________________________________________________________________
  2225.  
  2226.  
  2227.     that the second label character is expected.  Label characters may be
  2228.     any of the 94 printable ASCII characters on the keyboard; i.e. case is
  2229.     significant.
  2230.  
  2231.       COMMANDS FOR MANIPULATING QUICK COMMANDS
  2232.  
  2233.           <F7><x>        Execute quick command x.
  2234.                    or
  2235.           <'><x>         Execute quick command x.
  2236.  
  2237.                          These commands are identical.  A single letter
  2238.                          quick command definition label code (denoted as x)
  2239.                          corresponding to an existing quick command
  2240.                          definition is expected following this initial
  2241.                          command key.  ToolBOX will beep if the next char-
  2242.                          acter does not correspond to a defined quick
  2243.                          command label.
  2244.  
  2245.                          Quick lines execute once only; not once for each
  2246.                          selected file.  Variables within the quick line are
  2247.                          assumed to reference the entry at the current
  2248.                          cursor position.
  2249.  
  2250.           <SHIFT F7><x>  Make the current keyboard command line quick
  2251.                          command x.  This places the present keyboard
  2252.                          command line in quick command x.  A single letter
  2253.                          quick command definition label is expected
  2254.                          following the command key.  If the letter you chose
  2255.                          for your label is already assigned to an existing
  2256.                          quick command, it will automatically be redefined
  2257.                          and the old quick command lost.  The keyboard
  2258.                          command line (which must exist) is cleared
  2259.                          following this operation.
  2260.  
  2261.           <ALT F7><x>    Create quick command x, which will change to the
  2262.                          current directory. This quick command line is
  2263.                          equivalent to a <SHIFT F7><x> command if the
  2264.                          keyboard command line contains a change directory
  2265.                          (CD) command to the current directory.  If the
  2266.                          label existed previously, the old contents are
  2267.                          lost.
  2268.  
  2269.           <CTRL F7><x>   Delete quick command x.  Deletes the quick command
  2270.                          defined by the <x> label character.  ToolBOX beeps
  2271.                          if no such quick command is defined.
  2272.  
  2273.  
  2274.  
  2275. 9.6 Inferred Batch File Selection
  2276.  
  2277.     The point-and-shoot operations described in Section 8 executed the
  2278.     currently selected program.  While similar, the inferred batch file
  2279.     operation doesn't directly invoke this file.  Rather, based on the key-
  2280.     stroke entered, and optionally on the extension of the filename pointed
  2281.     at, ToolBOX composes the name of a corresponding batch file.  If it
  2282.  
  2283. ToolBOX User Manual                                                  Page 40
  2284. ____________________________________________________________________________
  2285.  
  2286.  
  2287.     exists, it is invoked, otherwise an alternate procedure is performed.
  2288.     Usually this alternate action is to use the VIEW.EXE utility program to
  2289.     display the selected file.
  2290.  
  2291.     These commands and the corresponding match-strings are:
  2292.  
  2293.              KEY      MATCHSTRING       ACTION
  2294.  
  2295.           <RETURN>       *.xxx     Execute TBX--xxx.BAT if accessible,
  2296.                                    otherwise use VIEW to display *.xxx
  2297.  
  2298.           <CTRL RETURN>  *.xxx     Execute TBXC-xxx.BAT if accessible,
  2299.                                    otherwise use VIEW to display *.xxx
  2300.  
  2301.           <ALT RETURN>   *.xxx     Execute TBXA-xxx.BAT if accessible,
  2302.                                    otherwise use VIEW to display *.xxx
  2303.  
  2304.           <ALT key-x>     ---      Execute TBX-ALTx.BAT if accessible.
  2305.  
  2306.           <CTRL key-x>    ---      Execute TBX-CTLx.BAT if accessible.
  2307.  
  2308.                     xxx  indicates any file extension of up to 3 characters.
  2309.                          These characters are used in the composed file
  2310.                          name.
  2311.  
  2312.                     ---  indicates no file match is required.  The - and --
  2313.                          used in the filenames are actual dashes.
  2314.  
  2315.                   key-x  indicates any keyboard character.  The character
  2316.                          (denoted by x) is used in the composed file name.
  2317.  
  2318.     ToolBOX searches for the composed batch file name in the current
  2319.     directory and then on each directory referenced within the PATH.  If
  2320.     found, the batch file is invoked with variable parameters.
  2321.  
  2322.     For the operations with match-strings, the matched filename is passed as
  2323.     a single filespec and as individual components.  For example:
  2324.  
  2325.           TBX--xxx.BAT f d:p\n.x d p n x
  2326.  
  2327.     For the operations that do not require a match-string, only the
  2328.     minimized pathname is passed.  For example:
  2329.  
  2330.           TBX-ALTx.BAT f
  2331.  
  2332.     As there is no requirement for a match-string, this command will execute
  2333.     only once per keystroke.  It will not be repeated even if multiple files
  2334.     are selected.  The first selected file is passed only as a possible
  2335.     convenience.  The selected file will remain selected even after
  2336.     completion of the command.
  2337.  
  2338.     Keystrokes such as <ALT c> and <ALT d> are not available for inferred
  2339.     batch files since they are already associated with the higher priority
  2340.     COPY and DELETE functions.
  2341.  
  2342.  
  2343. ToolBOX User Manual                                                  Page 41
  2344. ____________________________________________________________________________
  2345.  
  2346.  
  2347. 9.7 Explicit Program Requests
  2348.  
  2349.     Other commands available include:
  2350.  
  2351.             KEY       MATCHSTRING       ACTION
  2352.  
  2353.  
  2354.            <ALT v>       *.*       VIEW selected file(s).  The VIEW program
  2355.                                    is invoked to display the contents of
  2356.                                    each selected file.
  2357.  
  2358.                                    Note that each file is viewed independ-
  2359.                                    ently.  It is not possible within VIEW to
  2360.                                    request the next or previous file.
  2361.  
  2362.            <ALT k>       *.*       Killdir - delete directory and its cont-
  2363.                       (Directory)  ents, including multiple levels.  For
  2364.                                    each selected directory, killdir issues a
  2365.                                    prompt window allowing the user to select
  2366.                                    between 3 options for the directory:
  2367.  
  2368.                                        o delete all files and directories
  2369.                                          for all levels
  2370.  
  2371.                                        o delete all files for all levels
  2372.  
  2373.                                        o delete all files for the first
  2374.                                          level
  2375.  
  2376.                                    This operation is sometimes referred to
  2377.                                    as pruning.
  2378.  
  2379.  
  2380. ToolBOX User Manual                                                  Page 42
  2381. ____________________________________________________________________________
  2382.  
  2383.  
  2384. 10.0 INTRINSIC COMMANDS
  2385.  
  2386. 10.1 Typical Usage
  2387.  
  2388.     All ToolBOX commands described up to this point are implemented through
  2389.     a second level of intrinsic commands.  These intrinsics are understood
  2390.     and processed directly by ToolBOX.  While accessible during normal
  2391.     command line entry, knowledge of them and their operations is not
  2392.     necessary for most ToolBOX activities.
  2393.  
  2394.     Section 10 describes the intrinsics intended for entry through the
  2395.     keyboard command line.  Some of these have been discussed before.
  2396.     Additional intrinsic commands, which are more often found in the command
  2397.     sets bound to particular keystrokes, are described in the TBOXCFG User
  2398.     Manual.
  2399.  
  2400.  
  2401.  
  2402. 10.2 Intrinsic DIR command
  2403.  
  2404.     Section 6.2 explains the features of the dir command:
  2405.  
  2406.        dir [ [d:][path][matchlist] ] [/s[+-!]#] [/f[+-!]#] [/m] [/hH]
  2407.  
  2408.     Further to the specification in Section 6.2, the sort or format select-
  2409.     ion character may also be stated as +, -, or !.  Rather than selecting a
  2410.     specific setting, these respectively infer moving one setting up, down,
  2411.     or in the direction of the DIRECTION flag.
  2412.  
  2413.  
  2414. 10.3 Intrinsic CD command
  2415.  
  2416.     For an explanation of the ToolBOX "cd" command, see Section 6.3.
  2417.  
  2418.           [cd] [d:][path]
  2419.  
  2420.     It emulates the DOS equivalent except as follows:
  2421.  
  2422.           o the path may optionally include the drive specification.
  2423.           o the "cd" command itself is optional.
  2424.  
  2425.     On completion the directory data is read and the display updated,
  2426.     regardless of whether the cd command actually specified a new directory.
  2427.     ToolBOX beeps if the directory is not located.
  2428.  
  2429.  
  2430. 10.4 Intrinsic DEL Command
  2431.  
  2432.     The ToolBOX del command is essentially equivalent to the internal DOS
  2433.     command.  Section 9.4 describes the del command in detail.
  2434.  
  2435.           del [d:][path]matchlist
  2436.  
  2437.     ToolBOX will not delete subdirectories, although they are included in
  2438.     the count for the verification window.  ToolBOX will beep if a file
  2439.  
  2440. ToolBOX User Manual                                                  Page 43
  2441. ____________________________________________________________________________
  2442.  
  2443.  
  2444.     cannot be deleted or if nothing was deleted.
  2445.  
  2446.     Be careful with the file specification; ToolBOX assumes that for all
  2447.     specifications without an extension ".*" can be assumed.
  2448.  
  2449.  
  2450. 10.5 Intrinsic KILLDIR Command
  2451.  
  2452.     The killdir command is used to delete directory trees or branches, hence
  2453.     the occasional use of the term prune.
  2454.  
  2455.           killdir directory
  2456.  
  2457.     The command always prompts to determine how much should be deleted: all
  2458.     files and directories, all files, or just the files in the first
  2459.     directory.  For saftey reasons, KILLDIR won't let you delete the ".."
  2460.     parent directory.
  2461.  
  2462.     Using the intrinsic directly, rather than <ALT k>, it is possible to
  2463.     delete the complete contents of a disk with a single command;
  2464.  
  2465.           e.g.: killdir a:\
  2466.  
  2467.  
  2468. 10.6 Intrinsic SEL Command
  2469.  
  2470.     The sel command performs the file selection operation based on a
  2471.     matchlist.  Each match-string within the matchlist may contain the DOS *
  2472.     and ? wildcard characters.
  2473.  
  2474.           sel [ @ + - ] matchlist
  2475.  
  2476.     The optional character for the first argument is:
  2477.  
  2478.           @    toggle the select state of matched files based on the file
  2479.                at the file cursor.
  2480.  
  2481.           +    always set the matching files.
  2482.  
  2483.           -    always reset the matching files.
  2484.  
  2485.     Without the optional parameter, the matched files are toggled based on
  2486.     the state of the first matching file.  As per the explanation in 6.2,
  2487.     the matchlist can contain any number of file specifications, each
  2488.     optionally with a leading negation "!" character.
  2489.  
  2490.     The searches (which determine the order of selection) are carried out in
  2491.     directory display order from the beginning; i.e. no special consider-
  2492.     ation is given to the file at the cursor location.  All files
  2493.     corresponding to the match-string are altered to the same select state.
  2494.  
  2495.  
  2496. ToolBOX User Manual                                                  Page 44
  2497. ____________________________________________________________________________
  2498.  
  2499.  
  2500. APPENDIX A : ToolBOX COMMAND LINE ARGUMENT SUMMARY
  2501.  
  2502.  
  2503.  
  2504.  
  2505.      TBOX [d:][path]matchlist @cfgfile -F# -S#
  2506.           -V [b m s c e v] [25 43 50] -C[m c g]
  2507.           -X [Hh] [Dd] [Cc] [Xx] [Rr] [Pp] [Tt] [a#] [Mm]
  2508.           -M [Aa] [Pp] [Dd] [Cc]
  2509.  
  2510.  
  2511.  
  2512.   where :
  2513.  
  2514.  
  2515.  
  2516.           [d:][path]matchlist   for directory/files to be displayed
  2517.  
  2518.           -@cfgfile             configuration data file
  2519.  
  2520.           -display Format # (1 to 8, or letter)
  2521.  
  2522.           -Sort format # (1 to 8, or letter)
  2523.  
  2524.           -Video[bIOS|mONOCHROME|sNOW|cGA|eGA|vGA] [25LINES|43LINES|50LINES]
  2525.  
  2526.           -Color[mONOCHROME|cOLOR|gRAYSCALE]
  2527.  
  2528.           -eXecute
  2529.                hH   include Hidden and system files
  2530.                dD   do directory and exit
  2531.                cC   do directory and conditionally exit
  2532.                xX   go directly to select phase
  2533.                rR   restore DOS screen on exit
  2534.                pP   set pause state following DOS commands
  2535.                tT   tell DOS about available lines
  2536.                a#   permitted audio tones for different errors:
  2537.                     1 (border) + 2 (syntax) + 4 (execution)
  2538.                mM   make Match-list permanent
  2539.  
  2540.           -Memory
  2541.                Aa   always swap
  2542.                Pp   swap to EMS expanded memory
  2543.                Dd   swap to Disk
  2544.                Cc   for disk swaps, use current directory
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550. ToolBOX User Manual                                                  Page 45
  2551. ____________________________________________________________________________
  2552.  
  2553.  
  2554.                NOTE :
  2555.  
  2556.                     o all fields are optional
  2557.  
  2558.                     o matchlist :
  2559.  
  2560.                          [!]file-match-string  . . .
  2561.  
  2562.                     o default
  2563.                          -v25 -XhdcXrTa7m -MaPDc *.* -F1 -S1
  2564.  
  2565.  
  2566. ToolBOX User Manual                                                  Page 46
  2567. ____________________________________________________________________________
  2568.  
  2569.  
  2570. APPENDIX B : DIRECTORY DISPLAY PARAMETERS
  2571.  
  2572.  
  2573.     DIRECTORY DISPLAY FORMATS (Factory Defaults)
  2574.     ────────────────────────────────────────────
  2575.  
  2576.  
  2577.           #    OPTION NAME         COLS EXAMPLE DISPLAY FORMAT
  2578.           ─    ──────────────────  ──── ────────────────────────────────────
  2579.           1    Master               2   hSAMPLE  .COM    1,234 14Jly93 13:00
  2580.           2    filename-Size        3    SAMPLE  .COM    1,234
  2581.           3    filename-Date        3   hSAMPLE  .COM Jly93 13:00
  2582.           4    Filename             5    SAMPLE  .COM
  2583.           5    Name                 7    SAMPLE
  2584.           6    mAster (B)           2      1,234 hSAMPLE  .COM 14Jly93 13:00
  2585.           7    siZe-filename        2      1,234  SAMPLE  .COM
  2586.           8    filename-sizE (B)    3    hSAMPLE  .COM   1,234
  2587.  
  2588.  
  2589.  
  2590.                NOTE:
  2591.                       - examples are for the hidden file SAMPLE.COM,
  2592.                         containing 1,234 bytes, and whose last modification
  2593.                         date was 1PM July 14, 1993.
  2594.  
  2595.                       - formats 1, 3, 6, and 8 prefix the filename with a
  2596.                         special designator character under the following
  2597.                         conditions:
  2598.  
  2599.                               CHAR      DESCRIPTION
  2600.  
  2601.                                 s       system file
  2602.                                 h       hidden file
  2603.                                 r       read only file
  2604.                                 \       directory
  2605.  
  2606.                         If more that one is applicable, only the first is
  2607.                         displayed.
  2608.  
  2609.                       - formats 4, 5, and 7 prefix the filename with a \
  2610.                         character to denote a directory
  2611.  
  2612.  
  2613.  
  2614.  
  2615. ToolBOX User Manual                                                  Page 47
  2616. ____________________________________________________________________________
  2617.  
  2618.  
  2619.      SORT CRITERIA
  2620.      ─────────────
  2621.  
  2622.           #    OPTION NAME              SORT CRITERIA (first, second)
  2623.           ─    ──────────────────       ──────────────────────────────
  2624.           1    eXtension-name           extension, filename
  2625.           2    Date-name                date, filename
  2626.           3    Size-name                size, filename
  2627.           4    dOs order                none -natural directory order
  2628.           5    Name-extension           filename, extension
  2629.           6    extension-daTe           extension, date
  2630.           7    extension-siZe           extension, size
  2631.           8    Reverse-date-name        inverted : date, filename
  2632.  
  2633.  
  2634.  
  2635.                NOTE : - the second sort field resolves ties remaining from
  2636.                         the first sort.
  2637.  
  2638.  
  2639. ToolBOX User Manual                                                  Page 48
  2640. ____________________________________________________________________________
  2641.  
  2642.  
  2643. APPENDIX C : COMMAND SUMMARY
  2644.  
  2645.  
  2646.  
  2647.        GENERAL INFORMATION:
  2648.  
  2649.           o the COMMAND KEYS section is completely reassignable through the
  2650.             TBOXCFG configuration program.
  2651.  
  2652.           o as a general convention <CTRL letter> keys are reserved for user
  2653.             customizations.  ToolBOX uses the function keys and <ALT letter>
  2654.             keys for its own operations.
  2655.  
  2656.           o the <F2> and <F7> keys are duplicated on the ' and / keys
  2657.             respectively for convenience.
  2658.  
  2659.           o refer to Section 4 and 10 for a description of variables and
  2660.             intrinsics.
  2661.  
  2662.  
  2663.  
  2664.     BASIC COMMAND KEYS
  2665.     ══════════════════
  2666.  
  2667.           CURSOR CONTROL
  2668.  
  2669.                <LEFT> <RIGHT> <UP> <DOWN> <PG UP> <PG DN> <Tab>
  2670.                <HOME> <HOME><HOME> <END> <END><END>
  2671.  
  2672.           Select file at cursor:
  2673.  
  2674.                <Space>
  2675.  
  2676.           Select region:
  2677.  
  2678.                <SHIFT LEFT> <SHIFT RIGHT> <SHIFT UP> <SHIFT DOWN>
  2679.  
  2680.           Cancel current operation:
  2681.  
  2682.                <ESC>
  2683.  
  2684.  
  2685.  
  2686.  
  2687. ToolBOX User Manual                                                  Page 49
  2688. ____________________________________________________________________________
  2689.  
  2690.  
  2691.     CONFIGURABLE COMMAND KEYS USED IN DIRECTORY/SELECT MODE
  2692.     ───────────────────────────────────────────────────────
  2693.  
  2694.                          MATCH
  2695.           KEYSTROKE      STRING    DESCRIPTION
  2696.           ═════════      ══════    ════════════════════════════════════════
  2697.  
  2698.           <any ASCII>    ---       Start keyboard command.
  2699.  
  2700.           <INSERT>       ---       Recall last keyboard command line.
  2701.  
  2702.           <ALT SPACE>    *.*       Toggle status of all files with the same
  2703.                                    extension as the file at the cursor.
  2704.  
  2705.           <CTRL SPACE>   *.*       Toggle selection status of all files.
  2706.  
  2707.           <keypad ─>     ---       Change directory to the next oldest stack
  2708.                                    entry.
  2709.  
  2710.           <keypad +>     ---       Change directory to the next most recent
  2711.                                    stack entry.
  2712.  
  2713.           <F1>           ---       Help (Single line descriptions).
  2714.  
  2715.           <ALT F1>       ---       Help (Incorporates command set
  2716.                                    information).
  2717.  
  2718.           <F2> or /      ---       Initiate pop up window for
  2719.                                    sort/display/quick commands/direction and
  2720.                                    pause.
  2721.  
  2722.           <CTRL PGDN>    ---       Change to next lower installed drive.
  2723.  
  2724.           <CTRL PGUP>    ---       Change to next higher installed drive.
  2725.  
  2726.           <ALT F2>       ---       Toggle PAUSE status.
  2727.  
  2728.           <CTRL F2>      ---       Toggle direction flag.
  2729.  
  2730.           <F7><x> or '<x>---       Execute quick command command x.
  2731.  
  2732.           <ALT F7><x>    ---       Assign the current directory to quick
  2733.                                    command x.
  2734.  
  2735.           <CTRL F7><x>   ---       Delete quick command x.
  2736.  
  2737.           <SHIFT F7><x>  ---       Make keyboard command quick command x.
  2738.  
  2739.  
  2740. ToolBOX User Manual                                                  Page 50
  2741. ____________________________________________________________________________
  2742.  
  2743.  
  2744.                          MATCH
  2745.           KEYSTROKE      STRING    DESCRIPTION
  2746.           ═════════      ══════    ════════════════════════════════════════
  2747.  
  2748.           <F8>           ---       Refresh directory display.
  2749.  
  2750.           <ALT F8>       ---       Move to display directory.
  2751.  
  2752.           <CTRL F8>      ---       Display current directory.
  2753.  
  2754.           <F9>           ---       Toggle DOS/ToolBOX screen split.
  2755.  
  2756.           <ALT F9>       ---       Select next sort criteria.
  2757.  
  2758.           <CTRL F9>      ---       Select next file display format.
  2759.  
  2760.           <F10>          ---       Toggle between ToolBOX and DOS window.
  2761.  
  2762.           <ALT F10>      ---       Toggle between DIRECTORY/SELECT modes.
  2763.  
  2764.           <ALT 2>        ---       Switch to 25 line mode.
  2765.  
  2766.           <ALT 4>        ---       Switch to 43 line mode.
  2767.  
  2768.           <ALT 5>        ---       Switch to 50 line mode.
  2769.  
  2770.           <ALT 0>        ---       Switch to current number of DOS lines.
  2771.  
  2772.           <ALT c>        *.*       Template for DOS COPY command.
  2773.  
  2774.           <ALT d>        *.*       Delete selected files.
  2775.  
  2776.           <ALT f>        ---       Template for DOS FORMAT command.
  2777.  
  2778.           <ALT k>        *.* (dir) Kill selected directories.
  2779.  
  2780.           <ALT p>        *.*       Print selected file.
  2781.  
  2782.           <ALT r>        *.*       Template for DOS RENAME command.
  2783.  
  2784.           <ALT s>        ---       Escape to DOS.
  2785.  
  2786.           <ALT v>        *.*       Display selected files with the VIEW
  2787.                                    program.
  2788.  
  2789.  
  2790. ToolBOX User Manual                                                  Page 51
  2791. ____________________________________________________________________________
  2792.  
  2793.  
  2794.                          MATCH
  2795.           KEYSTROKE      STRING    DESCRIPTION
  2796.           ═════════      ══════    ════════════════════════════════════════
  2797.  
  2798.  
  2799.           <RETURN>       *.* (dir) Change directory.
  2800.  
  2801.           <RETURN>       *.BAT     Execute batch file.
  2802.  
  2803.           <RETURN>       *.COM     Execute .COM file.
  2804.  
  2805.           <RETURN>       *.EXE     Execute .EXE file.
  2806.  
  2807.           <RETURN>       *.xxx     Execute TBX--xxx.BAT if accessible,
  2808.                                    otherwise use VIEW.
  2809.  
  2810.           <CTRL RETURN>  *.xxx     Execute TBXC-xxx.BAT if accessible,
  2811.                                    otherwise use VIEW.
  2812.  
  2813.           <ALT RETURN>   *.xxx     Execute TBXA-xxx.BAT if accessible,
  2814.                                    otherwise use VIEW.
  2815.  
  2816.           <ALT key-x>    ---       Execute TBX-ALTx.BAT if accessible.
  2817.  
  2818.           <CTRL key-x>   ---       Execute TBXA-CTLx.BAT if accessible.
  2819.  
  2820.           <RETURN>       *.*       Use VIEW to display the unknown file.
  2821.  
  2822.  
  2823.  
  2824.     ALTERNATE KEYS AVAILABLE (See GENERAL.DOC)
  2825.     ──────────────────────────────────────────
  2826.  
  2827.           STANDARD KEY   REPLACEMENT    NOTES
  2828.           ════════════   ════════════   ══════════════════════════════════
  2829.           <SHIFT LEFT>   <CTRL LEFT>
  2830.           <SHIFT RIGHT>  <CTRL RIGHT>
  2831.           <SHIFT UP>     <CTRL HOME>
  2832.           <SHIFT DOWN>   <CTRL END>
  2833.           <ALT SPACE>    <ALT = >       reserved by windows
  2834.           <ALT RETURN>   <ALT - >       reserved by windows
  2835.           <CTRL RETURN>  <ALT _ >
  2836.  
  2837.  
  2838.  
  2839.  
  2840. ToolBOX User Manual                                                  Page 52
  2841. ____________________________________________________________________________
  2842.  
  2843.  
  2844. APPENDIX D : INTRINSIC COMMAND SUMMARY
  2845.  
  2846.  
  2847.     COMMAND LINE VARIABLES
  2848.     ──────────────────────
  2849.  
  2850.  
  2851.           (where x is created by <CTRL x>)
  2852.  
  2853.           [ + - ! ]d    display drive
  2854.           p             display path
  2855.           n             8 character file name
  2856.           x             3 character extension
  2857.           D             current drive letter
  2858.           P             current path
  2859.           f             minimized pathname
  2860.           c             last character from keyboard
  2861.                        single literal  character
  2862.  
  2863.  
  2864.     INTRINSIC COMMANDS
  2865.     ──────────────────
  2866.  
  2867.           Change directory:
  2868.  
  2869.                [cd] [d:][path]
  2870.  
  2871.           Update directory display:
  2872.  
  2873.                dir [d:][path][matchlist]  [/m] [/hH]
  2874.                              [/s[ + - ! ]#] [/f[ + - ! ]#]
  2875.  
  2876.           Delete selected files:
  2877.  
  2878.                del [d:][path]matchlist
  2879.  
  2880.           Delete selected directories and contents:
  2881.  
  2882.                killdir [d:]path
  2883.  
  2884.           Select files:
  2885.  
  2886.                sel [ @ + - ] matchlist
  2887.  
  2888.           Swap out ToolBOX
  2889.  
  2890.                @command-line
  2891.  
  2892.  
  2893. ToolBOX User Manual                                                  Page 53
  2894. ____________________________________________________________________________
  2895.  
  2896.  
  2897.  
  2898.     INTRINSIC COMMANDS (INTERNAL)
  2899.     ─────────────────────────────
  2900.  
  2901.     The following commands are intended for use within configured command
  2902.     sets rather than through the keyboard command line.  They are included
  2903.     here for reference purposes only.  For further information refer to the
  2904.     TBOXCFG User Manual documentation.
  2905.  
  2906.  
  2907.           Switch to the DOS window:
  2908.  
  2909.                tbx d
  2910.  
  2911.           Initiate Help  (1=basic help, 2 = extended/internal command set):
  2912.  
  2913.                tbx h #
  2914.  
  2915.           Toggle current PAUSE status:
  2916.  
  2917.                tbx p
  2918.  
  2919.           Set number of screen lines (25, 43, or 50, otherwise DOS setting):
  2920.  
  2921.                tbx r ##
  2922.  
  2923.           Toggle current DIRECTION status:
  2924.  
  2925.                tbx t
  2926.  
  2927.           Toggle between ToolBOX SELECT and DIRECTORY state:
  2928.  
  2929.                tbx w
  2930.  
  2931.           Change directories to the next entry in the directory stack:
  2932.  
  2933.                tbx N
  2934.  
  2935.           Change directories to the previous entry in the directory stack:
  2936.  
  2937.                tbx P
  2938.  
  2939.           Conditional exit (Use verification window):
  2940.  
  2941.                tbx x
  2942.  
  2943.           UnConditional exit:
  2944.  
  2945.                tbx X
  2946.  
  2947.  
  2948. ToolBOX User Manual                                                  Page 54
  2949. ____________________________________________________________________________
  2950.  
  2951.  
  2952.           Invoke program if locatable, else use default command line:
  2953.  
  2954.                t*x f progname.ext [param1] [param2] . . .
  2955.  
  2956.           Start the keyboard command with newest command stack entry:
  2957.  
  2958.                t*x l
  2959.  
  2960.           Start keyboard command with text provided:
  2961.  
  2962.                t*x p [command-line-text]
  2963.  
  2964.           Equivalent to t*x p except execution cycle is limited to one
  2965.           operation:
  2966.  
  2967.                t*x P [command-line-text]
  2968.  
  2969.           Toggle DOS split screen:
  2970.  
  2971.                t*x s
  2972.  
  2973.           Initiate the popup menu window:
  2974.  
  2975.                t*x w
  2976.  
  2977.           Invoke program if locatable, else sound(error):
  2978.  
  2979.                t*x x progname.ext [param1] [param2] . . .
  2980.  
  2981.           Assign current directory to quick command, get x from keyboard:
  2982.  
  2983.                t*x C
  2984.  
  2985.           Delete quick command, get x from keyboard:
  2986.  
  2987.                t*x D
  2988.  
  2989.           Add the current keyboard command line as quick command, get x from
  2990.           keyboard:
  2991.  
  2992.                t*x K
  2993.  
  2994.           Execute quick command, get x from keyboard:
  2995.  
  2996.                t*x X
  2997.  
  2998.  
  2999.  
  3000.